mirror of
https://github.com/ocornut/imgui.git
synced 2026-08-27 01:21:56 +00:00
Amend 1668693bc
This commit is contained in:
@@ -214,7 +214,7 @@ static void ImGui_ImplSDL3_UpdateIme()
|
||||
viewport_pos = viewport->Pos;
|
||||
SDL_Rect r;
|
||||
r.x = (int)(data->InputPos.x - viewport_pos.x);
|
||||
r.y = (int)(data->InputPos.y - viewport_pos.y + data->InputLineHeight);
|
||||
r.y = (int)(data->InputPos.y - viewport_pos.y);
|
||||
r.w = 1;
|
||||
r.h = (int)data->InputLineHeight;
|
||||
SDL_SetTextInputArea(window, &r, 0);
|
||||
|
||||
Reference in New Issue
Block a user