summaryrefslogtreecommitdiff
path: root/src/ui/color.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-11-26 17:36:41 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-11-26 17:36:41 +0200
commit57bd24d57826e0fe6ca49b9e378bd2ddb90278c2 (patch)
treeaa4036cd4092f8fe63ae21756b8469e473473275 /src/ui/color.c
parentf895842fbb9d7ddf95bf721f05af3e561ed1c81c (diff)
Color for passively selected sidebar item
Diffstat (limited to 'src/ui/color.c')
-rw-r--r--src/ui/color.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/color.c b/src/ui/color.c
index feec75ac..7cbb468b 100644
--- a/src/ui/color.c
+++ b/src/ui/color.c
@@ -247,6 +247,9 @@ void setThemePalette_Color(enum iColorTheme theme) {
247 copy_(uiMatching_ColorId, orange_ColorId); 247 copy_(uiMatching_ColorId, orange_ColorId);
248 break; 248 break;
249 } 249 }
250 set_Color(uiBackgroundUnfocusedSelection_ColorId, mix_Color(get_Color(uiBackground_ColorId),
251 get_Color(uiBackgroundSelected_ColorId),
252 isDark_ColorTheme(theme) ? 0.25f : 0.66f));
250 palette_[uiMarked_ColorId].a = 128; 253 palette_[uiMarked_ColorId].a = 128;
251 palette_[uiMatching_ColorId].a = 128; 254 palette_[uiMatching_ColorId].a = 128;
252} 255}