Skip to content

Commit

Permalink
Merge pull request godotengine#94987 from kitbdev/fix-update-mouse-cu…
Browse files Browse the repository at this point in the history
…rsor-state-pos

Fix update mouse cursor state wrong mouse position
  • Loading branch information
akien-mga committed Jul 31, 2024
2 parents 019cf2b + fce60c2 commit b6dee96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scene/main/window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit b6dee96

Please sign in to comment.