mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
ENH:auto focus input box when open text tool
Change-Id: Idca0fa6b1ef26a2e3f3537aa0a2e6907992c76de
This commit is contained in:
parent
283f3fdd26
commit
b648695754
1 changed files with 1 additions and 0 deletions
|
@ -246,6 +246,7 @@ 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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue