浏览代码

Flush accumulated input events on iOS

(cherry picked from commit 0348fa264070fc2d64dec6a926fe242b4c2bb6cd)
Pedro J. Estébanez 3 年之前
父节点
当前提交
86d8bd77f4
共有 1 个文件被更改,包括 2 次插入0 次删除
  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();
 };