mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 13:11:05 +01:00 
			
		
		
		
	BeginMenu: remove unnecessary call to ItemHoverable() which is already done by the Selectable() call.
Amend 88d7b3de
			
			
This commit is contained in:
		| @@ -6858,7 +6858,7 @@ bool ImGui::BeginMenu(const char* label, bool enabled) | ||||
|         PopStyleColor(); | ||||
|     PopID(); | ||||
|  | ||||
|     const bool hovered = enabled && ItemHoverable(window->DC.LastItemRect, id); | ||||
|     const bool hovered = (g.HoveredId == id) && enabled; | ||||
|     if (menuset_is_open) | ||||
|         g.NavWindow = backed_nav_window; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user