feat: respect accent colors in more places in desktop
This commit is contained in:
@@ -221,7 +221,7 @@ inline void draw_context_menu(Canvas& c,
|
||||
Rect item = {menu.x + 2, menu.y + CONTEXT_MENU_PAD_Y + i * item_h,
|
||||
menu.w - 4, item_h};
|
||||
if (state.hover == i)
|
||||
c.fill_rect(item.x, item.y, item.w, item.h, colors::MENU_HOVER);
|
||||
c.fill_rect(item.x, item.y, item.w, item.h, accent_hover_tint(theme.accent));
|
||||
|
||||
Color label_color = items[i].enabled ? theme.text : theme.text_muted;
|
||||
context_menu_draw_label(c, menu.x + 12, item.y + (item.h - fh) / 2,
|
||||
|
||||
Reference in New Issue
Block a user