mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-27 17:50:04 +01:00
[apps/sequence/list] Improve cell rendering
Change-Id: I64e713a3beae2574593f96fa05717f346e5ffd07
This commit is contained in:
@@ -20,6 +20,9 @@ void FunctionTitleCell::drawRect(KDContext * ctx, KDRect rect) const {
|
||||
} else {
|
||||
ctx->fillRect(KDRect(0, 0, bounds().width(), k_colorIndicatorThickness), m_functionColor);
|
||||
}
|
||||
KDColor separatorColor = m_even ? Palette::WallScreen : KDColorWhite;
|
||||
// Color the horizontal separator
|
||||
ctx->fillRect(KDRect(k_colorIndicatorThickness, bounds().height()-k_separatorThickness, bounds().width()-k_colorIndicatorThickness, k_separatorThickness), separatorColor);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user