From c0d81bea06d6bdf057fee35e0bf3b3c23dbd0f61 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Mon, 26 Aug 2019 21:14:50 +0200 Subject: [PATCH] WindowServer: Make the global menubar selection consistent with items --- Servers/WindowServer/WSMenuManager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Servers/WindowServer/WSMenuManager.cpp b/Servers/WindowServer/WSMenuManager.cpp index e9a5833ab27..3f31e6197d6 100644 --- a/Servers/WindowServer/WSMenuManager.cpp +++ b/Servers/WindowServer/WSMenuManager.cpp @@ -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(