summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2022-07-08 21:37:07 +0200
committerPedro J. Estébanez <pedrojrulez@gmail.com>2022-07-08 21:37:07 +0200
commit1b98e904d04b85138a3bc10ef691271459c2753c (patch)
tree02443170cb6c1051a7659e8b4cdb905e557c54b6 /platform
parent99df193bea91282800fcd32a3e89cb176e6b77e0 (diff)
Flush accumulated input events on iOS
Diffstat (limited to 'platform')
-rw-r--r--platform/iphone/display_server_iphone.mm1
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) {