1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 21:35:07 +00:00

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
parent c8bc53e987
commit 1da3be82ad

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(),