forked from Green-Sky/tomato
fix sdl3 imgui text input until pr is merged
https://github.com/ocornut/imgui/pull/7452
This commit is contained in:
parent
e4d6d20269
commit
f675afbe73
@ -117,6 +117,9 @@ static void ImGui_ImplSDL3_SetPlatformImeData(ImGuiViewport*, ImGuiPlatformImeDa
|
||||
r.w = 1;
|
||||
r.h = (int)data->InputLineHeight;
|
||||
SDL_SetTextInputRect(&r);
|
||||
SDL_StartTextInput();
|
||||
} else {
|
||||
SDL_StopTextInput();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user