mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-12 17:30:38 +00:00
WindowServer: Fix name typo in descend_into_submenu_at_hovered_item()
This commit is contained in:
parent
cbb3c7aade
commit
e786444ffa
Notes:
sideshowbarker
2024-07-19 07:20:12 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/e786444ffab
2 changed files with 4 additions and 4 deletions
|
@ -303,7 +303,7 @@ void Menu::open_hovered_item()
|
|||
clear_hovered_item();
|
||||
}
|
||||
|
||||
void Menu::decend_into_submenu_at_hovered_item()
|
||||
void Menu::descend_into_submenu_at_hovered_item()
|
||||
{
|
||||
ASSERT(hovered_item());
|
||||
ASSERT(hovered_item()->is_submenu());
|
||||
|
@ -394,7 +394,7 @@ void Menu::event(Core::Event& event)
|
|||
|
||||
if (key == Key_Return) {
|
||||
if (hovered_item()->is_submenu())
|
||||
decend_into_submenu_at_hovered_item();
|
||||
descend_into_submenu_at_hovered_item();
|
||||
else
|
||||
open_hovered_item();
|
||||
return;
|
||||
|
@ -462,7 +462,7 @@ void Menu::event(Core::Event& event)
|
|||
|
||||
if (key == Key_Right) {
|
||||
if (hovered_item()->is_submenu())
|
||||
decend_into_submenu_at_hovered_item();
|
||||
descend_into_submenu_at_hovered_item();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -132,7 +132,7 @@ private:
|
|||
void did_activate(MenuItem&);
|
||||
void open_hovered_item();
|
||||
void update_for_new_hovered_item();
|
||||
void decend_into_submenu_at_hovered_item();
|
||||
void descend_into_submenu_at_hovered_item();
|
||||
|
||||
ClientConnection* m_client { nullptr };
|
||||
int m_menu_id { 0 };
|
||||
|
|
Loading…
Reference in a new issue