Fix Dimension Text Color

- Dimension text did not respect Color property setting.
This commit is contained in:
wandererfan
2019-02-13 15:23:39 -05:00
committed by wmayer
parent 80a7b36da3
commit 428627cd89
4 changed files with 18 additions and 1 deletions

View File

@@ -58,6 +58,7 @@ QGCustomText::QGCustomText()
isHighlighted = false;
m_colCurrent = getNormalColor();
m_colNormal = m_colCurrent;
}
void QGCustomText::centerAt(QPointF centerPos)
@@ -111,7 +112,8 @@ void QGCustomText::hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
}
void QGCustomText::setPrettyNormal() {
m_colCurrent = getNormalColor();
// m_colCurrent = getNormalColor();
m_colCurrent = m_colNormal;
update();
}