KDColorBlack -> Palette::Text for the theming engine

This commit is contained in:
Quentin Guidée
2019-11-26 19:22:24 +01:00
parent eb6198306a
commit db269f1204
53 changed files with 75 additions and 66 deletions

View File

@@ -30,7 +30,7 @@ void GraphView::drawRect(KDContext * ctx, KDRect rect) const {
}
drawDot(ctx, rect, x, y, s->color());
if (x >= m_highlightedStart && x <= m_highlightedEnd && record == m_selectedRecord) {
KDColor color = m_shouldColorHighlighted ? s->color() : KDColorBlack;
KDColor color = m_shouldColorHighlighted ? s->color() : Palette::Text;
if (y >= 0.0f) {
drawSegment(ctx, rect, Axis::Vertical, x, 0.0f, y, color, 1);
} else {