Fix console input text reclaim to reflect latest ImGui changes

This commit is contained in:
Amos 2022-01-06 01:51:55 +01:00
parent 556894b3e3
commit 9a3175fb6d

View File

@ -268,7 +268,7 @@ void CConsole::Draw(const char* title, bool* bDraw)
// Auto focus previous widget.
if (reclaim_focus)
{
ImGui::SetKeyboardFocusHere(-1);
ImGui::SetKeyboardFocusHere();
}
ImGui::End();