diff options
author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2022-07-08 21:37:07 +0200 |
---|---|---|
committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2022-07-08 21:37:07 +0200 |
commit | 1b98e904d04b85138a3bc10ef691271459c2753c (patch) | |
tree | 02443170cb6c1051a7659e8b4cdb905e557c54b6 /platform/iphone | |
parent | 99df193bea91282800fcd32a3e89cb176e6b77e0 (diff) |
Flush accumulated input events on iOS
Diffstat (limited to 'platform/iphone')
-rw-r--r-- | platform/iphone/display_server_iphone.mm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/iphone/display_server_iphone.mm b/platform/iphone/display_server_iphone.mm index 573ee9b7a8..28ffc9595e 100644 --- a/platform/iphone/display_server_iphone.mm +++ b/platform/iphone/display_server_iphone.mm @@ -195,6 +195,7 @@ void DisplayServerIPhone::window_set_drop_files_callback(const Callable &p_calla } void DisplayServerIPhone::process_events() { + Input::get_singleton()->flush_buffered_events(); } void DisplayServerIPhone::_dispatch_input_events(const Ref<InputEvent> &p_event) { |