SDL: do not pause each frame if screen keyboard is shown without full-screen text input field, this makes built-in keyboard choppy

This commit is contained in:
pelya
2016-05-16 01:02:21 +03:00
parent 3c2976aa03
commit 723e0524ac
4 changed files with 5 additions and 5 deletions

View File

@@ -744,7 +744,7 @@ class DemoRenderer extends GLSurfaceView_SDL.Renderer
this.notify();
}
}
if( context.isScreenKeyboardShown() )
if( context.isScreenKeyboardShown() && !context.keyboardWithoutTextInputShown )
{
try {
Thread.sleep(50); // Give some time to the keyboard input thread