diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-12-29 14:36:04 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-12-29 14:36:04 +0200 |
commit | 6f1e31fdadd22a5f6932e87eab15fabd5e5cb1df (patch) | |
tree | 84a02425469799311908e55e52ceceee0846a346 /src/ui/sidebarwidget.c | |
parent | e7ebb78eb7c04a8c973218f9b5048bc009a444a7 (diff) |
SidebarWidget: Finetuning the secondary item colors
Diffstat (limited to 'src/ui/sidebarwidget.c')
-rw-r--r-- | src/ui/sidebarwidget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c index 6bd51731..317e74bd 100644 --- a/src/ui/sidebarwidget.c +++ b/src/ui/sidebarwidget.c | |||
@@ -1284,7 +1284,7 @@ static void draw_SidebarItem_(const iSidebarItem *d, iPaint *p, iRect itemRect, | |||
1284 | } | 1284 | } |
1285 | else { | 1285 | else { |
1286 | const int fg = isHover ? (isPressing ? uiTextPressed_ColorId : uiTextFramelessHover_ColorId) | 1286 | const int fg = isHover ? (isPressing ? uiTextPressed_ColorId : uiTextFramelessHover_ColorId) |
1287 | : uiHeading_ColorId; | 1287 | : uiTextDim_ColorId; |
1288 | iUrl parts; | 1288 | iUrl parts; |
1289 | init_Url(&parts, &d->label); | 1289 | init_Url(&parts, &d->label); |
1290 | const iBool isAbout = equalCase_Rangecc(parts.scheme, "about"); | 1290 | const iBool isAbout = equalCase_Rangecc(parts.scheme, "about"); |
@@ -1317,7 +1317,7 @@ static void draw_SidebarItem_(const iSidebarItem *d, iPaint *p, iRect itemRect, | |||
1317 | 2)); | 1317 | 2)); |
1318 | const int metaFg = isHover ? permanent_ColorId | (isPressing ? uiTextPressed_ColorId | 1318 | const int metaFg = isHover ? permanent_ColorId | (isPressing ? uiTextPressed_ColorId |
1319 | : uiTextFramelessHover_ColorId) | 1319 | : uiTextFramelessHover_ColorId) |
1320 | : uiText_ColorId; | 1320 | : uiTextDim_ColorId; |
1321 | drawRange_Text( | 1321 | drawRange_Text( |
1322 | font, cPos, d->listItem.isSelected ? iconColor : metaFg, range_String(&icon)); | 1322 | font, cPos, d->listItem.isSelected ? iconColor : metaFg, range_String(&icon)); |
1323 | deinit_String(&icon); | 1323 | deinit_String(&icon); |