From 68bde7b86227a9e18eb9fd9b620aad7734ed71b1 Mon Sep 17 00:00:00 2001 From: ocornut Date: Sun, 27 Dec 2015 21:41:01 +0100 Subject: [PATCH] Clarify comment (#455) --- imgui_demo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui_demo.cpp b/imgui_demo.cpp index 75f009fb..94a5b52a 100644 --- a/imgui_demo.cpp +++ b/imgui_demo.cpp @@ -1972,7 +1972,7 @@ struct ExampleAppConsole // Demonstrate keeping auto focus on the input box if (ImGui::IsItemHovered() || (ImGui::IsRootWindowOrAnyChildFocused() && !ImGui::IsAnyItemActive() && !ImGui::IsMouseClicked(0))) - ImGui::SetKeyboardFocusHere(-1); // Auto focus + ImGui::SetKeyboardFocusHere(-1); // Auto focus previous widget ImGui::End(); }