mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 18:22:45 +00:00 
			
		
		
		
	WindowServer: Fix name typo in descend_into_submenu_at_hovered_item()
This commit is contained in:
		
							parent
							
								
									cbb3c7aade
								
							
						
					
					
						commit
						e786444ffa
					
				
					 2 changed files with 4 additions and 4 deletions
				
			
		|  | @ -303,7 +303,7 @@ void Menu::open_hovered_item() | ||||||
|     clear_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()); | ||||||
|     ASSERT(hovered_item()->is_submenu()); |     ASSERT(hovered_item()->is_submenu()); | ||||||
|  | @ -394,7 +394,7 @@ void Menu::event(Core::Event& event) | ||||||
| 
 | 
 | ||||||
|         if (key == Key_Return) { |         if (key == Key_Return) { | ||||||
|             if (hovered_item()->is_submenu()) |             if (hovered_item()->is_submenu()) | ||||||
|                 decend_into_submenu_at_hovered_item(); |                 descend_into_submenu_at_hovered_item(); | ||||||
|             else |             else | ||||||
|                 open_hovered_item(); |                 open_hovered_item(); | ||||||
|             return; |             return; | ||||||
|  | @ -462,7 +462,7 @@ void Menu::event(Core::Event& event) | ||||||
| 
 | 
 | ||||||
|         if (key == Key_Right) { |         if (key == Key_Right) { | ||||||
|             if (hovered_item()->is_submenu()) |             if (hovered_item()->is_submenu()) | ||||||
|                 decend_into_submenu_at_hovered_item(); |                 descend_into_submenu_at_hovered_item(); | ||||||
|             return; |             return; | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|  |  | ||||||
|  | @ -132,7 +132,7 @@ private: | ||||||
|     void did_activate(MenuItem&); |     void did_activate(MenuItem&); | ||||||
|     void open_hovered_item(); |     void open_hovered_item(); | ||||||
|     void update_for_new_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 }; |     ClientConnection* m_client { nullptr }; | ||||||
|     int m_menu_id { 0 }; |     int m_menu_id { 0 }; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling