[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:
donovaly
2021-02-03 03:49:56 +01:00
committed by wwmayer
parent d0d2581410
commit 8a3cc86d0c

View File

@@ -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;
}