소스 검색

Merge pull request #62843 from RandomShaper/fix_iphone_input

Flush accumulated input events on iOS
Rémi Verschelde 3 년 전
부모
커밋
9b3972ad48
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      platform/iphone/display_server_iphone.mm

+ 1 - 0
platform/iphone/display_server_iphone.mm

@@ -195,6 +195,7 @@ void DisplayServerIPhone::window_set_drop_files_callback(const Callable &p_calla
 }
 
 void DisplayServerIPhone::process_events() {
+	Input::get_singleton()->flush_buffered_events();
 }
 
 void DisplayServerIPhone::_dispatch_input_events(const Ref<InputEvent> &p_event) {