mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-05 19:06:06 +08:00
ENH:auto focus input box when open text tool
Change-Id: Idca0fa6b1ef26a2e3f3537aa0a2e6907992c76de
This commit is contained in:
parent
283f3fdd26
commit
b648695754
@ -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…
x
Reference in New Issue
Block a user