mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-13 11:42:38 +03:00
WindowServer: Make the global menubar selection consistent with items
This commit is contained in:
parent
0f48e3b007
commit
c0d81bea06
Notes:
sideshowbarker
2024-07-19 12:30:18 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/c0d81bea06d
@ -44,7 +44,8 @@ void WSMenuManager::draw()
|
||||
wm.for_each_active_menubar_menu([&](WSMenu& menu) {
|
||||
Color text_color = Color::Black;
|
||||
if (&menu == wm.current_menu()) {
|
||||
painter.fill_rect(menu.rect_in_menubar(), wm.menu_selection_color());
|
||||
painter.fill_rect(menu.rect_in_menubar(), Color::from_rgb(0xad714f));
|
||||
painter.draw_rect(menu.rect_in_menubar(), Color::from_rgb(0x793016));
|
||||
text_color = Color::White;
|
||||
}
|
||||
painter.draw_text(
|
||||
|
Loading…
Reference in New Issue
Block a user