fix: randoms
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user