mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[Theme] Fix button_state
This commit is contained in:
@@ -22,7 +22,7 @@ void ButtonState::layoutSubviews(bool force) {
|
||||
}
|
||||
|
||||
void ButtonState::drawRect(KDContext * ctx, KDRect rect) const {
|
||||
KDColor backColor = isHighlighted() ? highlightedBackgroundColor() : KDColorWhite;
|
||||
KDColor backColor = isHighlighted() ? highlightedBackgroundColor() : Palette::ButtonBackground;
|
||||
ctx->fillRect(bounds(), backColor);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user