1
0
mirror of https://github.com/ocornut/imgui.git synced 2024-11-24 07:40:22 +01:00

Clarify comment (#455)

This commit is contained in:
ocornut 2015-12-27 21:41:01 +01:00
parent d212401624
commit 68bde7b862

View File

@ -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();
}