Selaa lähdekoodia

WindowServer: Make the global menubar selection consistent with items

Andreas Kling 6 vuotta sitten
vanhempi
commit
c0d81bea06
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      Servers/WindowServer/WSMenuManager.cpp

+ 2 - 1
Servers/WindowServer/WSMenuManager.cpp

@@ -44,7 +44,8 @@ void WSMenuManager::draw()
     wm.for_each_active_menubar_menu([&](WSMenu& menu) {
     wm.for_each_active_menubar_menu([&](WSMenu& menu) {
         Color text_color = Color::Black;
         Color text_color = Color::Black;
         if (&menu == wm.current_menu()) {
         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;
             text_color = Color::White;
         }
         }
         painter.draw_text(
         painter.draw_text(