[Theme] Fix button_state

This commit is contained in:
Joachim LF
2021-01-21 19:26:53 +01:00
parent 9b17d1b882
commit 738a477b66

View File

@@ -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);
}