Skip to content

Commit

Permalink
【Android】Fixed bug that prevented text views from being aligned corre…
Browse files Browse the repository at this point in the history
…ctly on Android when the soft keyboard shows
  • Loading branch information
skylersaleh committed Aug 4, 2023
1 parent 4f615de commit 2029265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3075,7 +3075,7 @@ void se_download_emscripten_file(const char * path){
#endif

void se_bring_text_field_into_view(){
if(sapp_keyboard_shown()){
if(igGetIO()->WantTextInput){

ImGuiWindow* window = igGetCurrentContext()->HoveredWindow;
if(igGetCurrentContext()->ActiveIdWindow)window=igGetCurrentContext()->ActiveIdWindow;
Expand Down

0 comments on commit 2029265

Please sign in to comment.