mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 08:47:28 +01:00
[themes] Color with pointers
This commit is contained in:
@@ -23,8 +23,8 @@ void FunctionTitleCell::setBaseline(KDCoordinate baseline) {
|
||||
|
||||
void FunctionTitleCell::drawRect(KDContext * ctx, KDRect rect) const {
|
||||
if (m_orientation == Orientation::VerticalIndicator){
|
||||
KDColor separatorColor = m_even ? Palette::BackgroundApps : Palette::BackgroundHard;
|
||||
KDColor backgroundColor = m_even ? Palette::BackgroundHard : Palette::BackgroundApps;
|
||||
KDColor separatorColor = m_even ? *Palette::BackgroundApps : *Palette::BackgroundHard;
|
||||
KDColor backgroundColor = m_even ? *Palette::BackgroundHard : *Palette::BackgroundApps;
|
||||
// Draw the color indicator
|
||||
ctx->fillRect(KDRect(0, 0, k_colorIndicatorThickness, bounds().height()), m_functionColor);
|
||||
// Draw the horizontal separator
|
||||
|
||||
Reference in New Issue
Block a user