FIX: focus of text tool window

Change-Id: I474f314e07234b8f5fc2db7ccd505d85539659e4
This commit is contained in:
liz.li 2022-12-06 09:18:22 +08:00 committed by Lane.Wei
parent 09ab775667
commit 156afc385a
2 changed files with 19 additions and 17 deletions

View file

@ -246,7 +246,6 @@ void GLGizmoText::on_render_input_window(float x, float y, float bottom_limit)
ImGui::SameLine(caption_size);
ImGui::PushItemWidth(input_text_size);
ImGui::SetKeyboardFocusHere(0);
ImGui::InputText("", m_text, sizeof(m_text));
ImGui::Separator();