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

View File

@@ -7,10 +7,10 @@ AppName="OpenTTD"
AppFullName=org.openttd.sdl
# Application version code (integer)
AppVersionCode=16055
AppVersionCode=16056
# Application user-visible version name (string)
AppVersionName="1.6.0.55"
AppVersionName="1.6.0.56"
# Specify path to download application data in zip archive in the form 'Description|URL|MirrorURL^Description2|URL2|MirrorURL2^...'
# If you'll start Description with '!' symbol it will be enabled by default, other downloads should be selected by user from startup config menu