Fix Dimension Text Color
- Dimension text did not respect Color property setting.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user