mirror of
https://github.com/RGBCube/serenity
synced 2025-05-24 03:45:07 +00:00
WindowServer: MenuManager should use selection text color from system theme
This commit is contained in:
parent
c8bc53e987
commit
1da3be82ad
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ void MenuManager::draw()
|
||||||
if (is_open(menu)) {
|
if (is_open(menu)) {
|
||||||
painter.fill_rect(menu.rect_in_menubar(), palette.menu_selection());
|
painter.fill_rect(menu.rect_in_menubar(), palette.menu_selection());
|
||||||
painter.draw_rect(menu.rect_in_menubar(), palette.menu_selection().darkened());
|
painter.draw_rect(menu.rect_in_menubar(), palette.menu_selection().darkened());
|
||||||
text_color = Color::White;
|
text_color = palette.menu_selection_text();
|
||||||
}
|
}
|
||||||
painter.draw_text(
|
painter.draw_text(
|
||||||
menu.text_rect_in_menubar(),
|
menu.text_rect_in_menubar(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue