mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-04 12:08:47 +02:00
Nav: Minor tidying up. (#787)
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user