mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
WindowServer: Keep menu open when activating a menu item with Ctrl held
This makes it easy to "try out" different options (like system themes!) in a menu without having to re-open the menu over and over. :^)
This commit is contained in:
@@ -197,7 +197,7 @@ void MenuManager::event(Core::Event& event)
|
||||
if (hovered_item->is_submenu())
|
||||
m_current_menu->descend_into_submenu_at_hovered_item();
|
||||
else
|
||||
m_current_menu->open_hovered_item();
|
||||
m_current_menu->open_hovered_item(false);
|
||||
return;
|
||||
}
|
||||
m_current_menu->dispatch_event(event);
|
||||
|
||||
Reference in New Issue
Block a user