Kaynağa Gözat

fixed keyboard lockup (android)

Andrew Karpushin 10 yıl önce
ebeveyn
işleme
578144aa29
1 değiştirilmiş dosya ile 1 ekleme ve 8 silme
  1. 1 8
      gameplay/src/PlatformAndroid.cpp

+ 1 - 8
gameplay/src/PlatformAndroid.cpp

@@ -44,7 +44,6 @@ static int __orientationAngle = 90;
 static bool __multiSampling = false;
 static bool __multiTouch = false;
 static int __primaryTouchId = -1;
-static bool __displayKeyboard = false;
 
 // OpenGL VAO functions.
 static const char* __glExtensions;
@@ -1400,9 +1399,6 @@ int Platform::enterMessagePump()
                 }
             }
         }
-            
-        // Display the keyboard.
-        gameplay::displayKeyboard(__state, __displayKeyboard);
     }
     return 0;
 }
@@ -1604,10 +1600,7 @@ bool Platform::isCursorVisible()
 
 void Platform::displayKeyboard(bool display)
 {
-    if (display)
-        __displayKeyboard = true;
-    else
-        __displayKeyboard = false;
+    gameplay::displayKeyboard(__state, display);
 }
 
 void Platform::shutdownInternal()