Browse Source

Flush accumulated input events on iOS

(cherry picked from commit 0348fa264070fc2d64dec6a926fe242b4c2bb6cd)
Pedro J. Estébanez 3 years ago
parent
commit
86d8bd77f4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      platform/iphone/os_iphone.mm

+ 2 - 0
platform/iphone/os_iphone.mm

@@ -202,6 +202,8 @@ bool OSIPhone::iterate() {
 		return true;
 	}
 
+	input->flush_buffered_events();
+
 	return Main::iteration();
 };