From 86d8bd77f44c34ab48f204244e922161025fd09f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20J=2E=20Est=C3=A9banez?= Date: Fri, 8 Jul 2022 20:01:19 +0200 Subject: [PATCH] Flush accumulated input events on iOS (cherry picked from commit 0348fa264070fc2d64dec6a926fe242b4c2bb6cd) --- platform/iphone/os_iphone.mm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/iphone/os_iphone.mm b/platform/iphone/os_iphone.mm index 7e7eb3bc3d9..e1789491d0f 100644 --- a/platform/iphone/os_iphone.mm +++ b/platform/iphone/os_iphone.mm @@ -202,6 +202,8 @@ bool OSIPhone::iterate() { return true; } + input->flush_buffered_events(); + return Main::iteration(); };