Nav: Minor tidying up. (#787)

This commit is contained in:
omar
2018-02-05 14:53:07 +01:00
parent 2081fc15b5
commit 8ad88f725c
4 changed files with 15 additions and 15 deletions

View File

@ -2730,7 +2730,7 @@ struct ExampleAppConsole
// Demonstrate keeping focus on the input box
ImGui::SetItemDefaultFocus();
if (reclaim_focus) //|| ImGui::IsItemHovered())
if (reclaim_focus)
ImGui::SetKeyboardFocusHere(-1); // Auto focus previous widget
ImGui::End();