[TD] fix color change for dimensions
This PR fixes issue C reported here: https://forum.freecadweb.org/viewtopic.php?f=35&t=55008#p472939 - the changed color must also be applied to the dimension line and arrows
This commit is contained in:
@@ -234,6 +234,7 @@ void QGIPrimPath::setNormalColor(QColor c)
|
||||
{
|
||||
m_colNormal = c;
|
||||
m_colOverride = true;
|
||||
m_colCurrent = m_colNormal;
|
||||
}
|
||||
|
||||
void QGIPrimPath::setCapStyle(Qt::PenCapStyle c)
|
||||
@@ -316,6 +317,7 @@ void QGIPrimPath::resetFill() {
|
||||
void QGIPrimPath::setFillColor(QColor c)
|
||||
{
|
||||
m_colNormalFill = c;
|
||||
m_fillColorCurrent = m_colNormalFill;
|
||||
// m_colDefFill = c;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user