[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();

View File

@@ -17,7 +17,7 @@ if is_mode("debug") then
end
add_requires("spdlog 1.14.1", {system = false})
add_requires("imgui v1.91.4-docking", {configs = {sdl2 = true, sdl2_renderer = true}})
add_requires("imgui v1.91.5-docking", {configs = {sdl2 = true, sdl2_renderer = true}})
add_requires("miniaudio 0.11.21")
add_requires("openssl3 3.3.2", {system = false})