Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(game): don't start/stop text/IME input
SDL2 enables IME input by default (it won't be in SDL3). We ask SDL2 to start/stop IME input when we enter/exit search box. So, after using search, IME input is disabled, but ImGui relies on it always being enabled - it uses it for keyboard input, but it doesn't start/stop IME itself (since [1]; they reenabled that on SDL3 though [2]; issue itself is [3]). We can (and actually could) activate IME even outside of text input. :( Fixes #83 ([ImGui] Text input doesn't work after using song search). [1] ocornut/imgui@a7703fe [2] ocornut/imgui@fab96a6 [3] ocornut/imgui#6306
- Loading branch information