WindowServer: MenuManager should use selection text color from system theme

This commit is contained in:
Tibor Nagy 2020-02-20 09:20:32 +01:00 committed by Andreas Kling
commit 1da3be82ad
Notes: sideshowbarker 2024-07-19 09:12:09 +09:00

View file

@ -106,7 +106,7 @@ void MenuManager::draw()
if (is_open(menu)) {
painter.fill_rect(menu.rect_in_menubar(), palette.menu_selection());
painter.draw_rect(menu.rect_in_menubar(), palette.menu_selection().darkened());
text_color = Color::White;
text_color = palette.menu_selection_text();
}
painter.draw_text(
menu.text_rect_in_menubar(),