Explorar o código

Merge pull request #1434 from dgough/next

 Fixed delete on android text fields
Sean Taylor %!s(int64=12) %!d(string=hai) anos
pai
achega
a0a61e922f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      gameplay/src/PlatformAndroid.cpp

+ 1 - 1
gameplay/src/PlatformAndroid.cpp

@@ -1028,7 +1028,7 @@ static int32_t engine_handle_input(struct android_app* app, AInputEvent* event)
         switch(action)
         {
             case AKEY_EVENT_ACTION_DOWN:
-                Game::getInstance()->keyEvent(Keyboard::KEY_PRESS, getKey(keycode, metastate));
+                gameplay::Platform::keyEventInternal(Keyboard::KEY_PRESS, getKey(keycode, metastate));
                 if (int character = getUnicode(keycode, metastate))
                     gameplay::Platform::keyEventInternal(Keyboard::KEY_CHAR, character);
                 break;