mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 21:21:06 +01:00 
			
		
		
		
	Update imgui.cpp
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							b13d281356
						
					
				
				
					commit
					9e3f9fc2dd
				
			| @@ -1984,7 +1984,7 @@ bool ImGui::ItemAdd(const ImRect& bb, ImGuiID id) | ||||
| } | ||||
|  | ||||
| // This is roughly matching the behavior of internal-facing ItemHoverable() | ||||
| // - we allow hovering to be true when ActiveId==window->MoveID, so that clicking on non-interactive items such as a Text() item still returns true with IsItemHovered()) | ||||
| // - we allow hovering to be true when ActiveId==window->MoveID, so that clicking on non-interactive items such as a Text() item still returns true with IsItemHovered() | ||||
| // - this should work even for non-interactive items that have no ID, so we cannot use LastItemId | ||||
| bool ImGui::IsItemHovered(ImGuiHoveredFlags flags) | ||||
| { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user