diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-07-11 18:28:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-11 18:28:36 +0200 |
commit | 9b3972ad48393559f772151646304e28f938a6fa (patch) | |
tree | f33b82045a892beeb660aeca4779bcae9a78e996 /platform/iphone | |
parent | d26442e709f6361af9ac755ec9291bb43f2cd69b (diff) | |
parent | 1b98e904d04b85138a3bc10ef691271459c2753c (diff) |
Merge pull request #62843 from RandomShaper/fix_iphone_input
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) { |