From 0348fa264070fc2d64dec6a926fe242b4c2bb6cd 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 --- 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 87dea7698d5..55eb0fde501 100644 --- a/platform/iphone/os_iphone.mm +++ b/platform/iphone/os_iphone.mm @@ -203,6 +203,8 @@ bool OSIPhone::iterate() { return true; } + input->flush_buffered_events(); + return Main::iteration(); };