Skip to content

Commit b6dee96

Browse files
committed
Merge pull request #94987 from kitbdev/fix-update-mouse-cursor-state-pos
Fix update mouse cursor state wrong mouse position
2 parents 019cf2b + fce60c2 commit b6dee96

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)