Skip to content

Commit fce60c2

Browse files
committed
Fix update mouse cursor state wrong mouse position
1 parent 1d57b81 commit fce60c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scene/main/window.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ void Window::update_mouse_cursor_state() {
810810
mm->set_position(pos);
811811
mm->set_global_position(xform.xform(pos));
812812
mm->set_device(InputEvent::DEVICE_ID_INTERNAL);
813-
push_input(mm);
813+
push_input(mm, true);
814814
}
815815

816816
void Window::show() {

0 commit comments

Comments
 (0)