[fix] update imgui to v1.91.5-docking to fix: inputText cannot input text after add a space in remote id

This commit is contained in:
dijunkun
2024-11-21 18:40:42 +08:00
parent 4fea7d86e1
commit df7489f8e2
2 changed files with 3 additions and 4 deletions

View File

@@ -61,10 +61,9 @@ int Render::RemoteWindow() {
}
bool enter_pressed = ImGui::InputText(
"##remote_id_", remote_id_display_, IM_ARRAYSIZE(remote_id_display_),
ImGuiInputTextFlags_CharsUppercase |
ImGuiInputTextFlags_CharsDecimal |
ImGuiInputTextFlags_EnterReturnsTrue |
ImGuiInputTextFlags_CallbackEdit |
ImGuiInputTextFlags_CharsNoBlank,
ImGuiInputTextFlags_CallbackEdit,
InputTextCallback);
ImGui::PopStyleVar();