Jelajahi Sumber

Merge pull request #94987 from kitbdev/fix-update-mouse-cursor-state-pos

Fix update mouse cursor state wrong mouse position
Rémi Verschelde 1 tahun lalu
induk
melakukan
b6dee96f68
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      scene/main/window.cpp

+ 1 - 1
scene/main/window.cpp

@@ -810,7 +810,7 @@ void Window::update_mouse_cursor_state() {
 	mm->set_position(pos);
 	mm->set_global_position(xform.xform(pos));
 	mm->set_device(InputEvent::DEVICE_ID_INTERNAL);
-	push_input(mm);
+	push_input(mm, true);
 }
 
 void Window::show() {