瀏覽代碼

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;
 		return true;
 	}
 	}
 
 
+	input->flush_buffered_events();
+
 	return Main::iteration();
 	return Main::iteration();
 };
 };