2
0
Эх сурвалжийг харах

Fixes iOS keyboard issue and fixes a warning

Brandon Slack 14 жил өмнө
parent
commit
59230ad054

+ 1 - 1
gameplay/src/Platform.h

@@ -117,7 +117,7 @@ public:
      *
      *
      * @param display true when virtual keyboard needs to be displayed and false otherwise.
      * @param display true when virtual keyboard needs to be displayed and false otherwise.
      */
      */
-     static void displayKeyboard(bool display);
+    static void displayKeyboard(bool display);
 
 
     static void touchEventInternal(Touch::TouchEvent evt, int x, int y, unsigned int contactIndex);
     static void touchEventInternal(Touch::TouchEvent evt, int x, int y, unsigned int contactIndex);
 
 

+ 1 - 1
gameplay/src/PlatformiOS.mm

@@ -845,7 +845,7 @@ void Platform::swapBuffers()
         [__view swapBuffers];
         [__view swapBuffers];
 }
 }
 
 
-void displayKeyboard(bool display) 
+void Platform::displayKeyboard(bool display) 
 {
 {
     if(__view) 
     if(__view) 
     {
     {