From 9e3f9fc2ddf0a170788f6b101c5027f82dd35cde Mon Sep 17 00:00:00 2001 From: Giuseppe Barbieri Date: Mon, 30 Oct 2017 09:35:42 +0100 Subject: [PATCH] Update imgui.cpp --- imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index 1c101e0f..40b5ea6c 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -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) {