fix: randoms

This commit is contained in:
2021-11-04 18:34:49 +01:00
parent 95e9c270db
commit 0d992da55b
3 changed files with 2 additions and 15 deletions

View File

@@ -151,19 +151,6 @@ void pollEvents() {
}
ImGui_ImplSDL2_ProcessEvent(&event);
}
// activating screen keyboard for Android devices
#ifdef __ANDROID__
static bool keyboardShown = false;
if(ImGui::GetIO().WantTextInput != keyboardShown){
if(ImGui::GetIO().WantTextInput){
SDL_StartTextInput();
}else{
SDL_StopTextInput();
}
keyboardShown = ImGui::GetIO().WantTextInput;
}
#endif
}
bool isCloseRequested() {