Merge item and button style, remove hightlighed and few other fixes

This commit is contained in:
iota97
2022-02-14 13:57:22 +01:00
parent 7860aea62f
commit 561870dc25
10 changed files with 30 additions and 93 deletions
+1 -1
View File
@@ -953,7 +953,7 @@ public:
void Draw(UIContext &dc) override {
uint32_t c = 0xFFFFFFFF;
if (HasFocus() || Selected())
c = dc.theme->buttonFocusedStyle.background.color;
c = dc.theme->itemFocusedStyle.background.color;
float scales[2]{};
if (bgImg_.isValid())