src/video/uikit/SDL_uikitviewcontroller.m
changeset 11782 98ea6e4c0d68
parent 11497 65698434e30d
child 11811 5d94cb6b24d3
     1.1 --- a/src/video/uikit/SDL_uikitviewcontroller.m	Tue Dec 19 10:48:29 2017 -0800
     1.2 +++ b/src/video/uikit/SDL_uikitviewcontroller.m	Tue Dec 19 10:57:21 2017 -0800
     1.3 @@ -387,7 +387,9 @@
     1.4  {
     1.5      SDL_SendKeyboardKey(SDL_PRESSED, SDL_SCANCODE_RETURN);
     1.6      SDL_SendKeyboardKey(SDL_RELEASED, SDL_SCANCODE_RETURN);
     1.7 -    SDL_StopTextInput();
     1.8 +    if (SDL_GetHintBoolean(SDL_HINT_RETURN_KEY_HIDES_IME, SDL_FALSE)) {
     1.9 +         SDL_StopTextInput();
    1.10 +    }
    1.11      return YES;
    1.12  }
    1.13