diff options
author | kit <kitbdev@gmail.com> | 2024-07-31 14:10:40 -0400 |
---|---|---|
committer | kit <kitbdev@gmail.com> | 2024-07-31 14:10:40 -0400 |
commit | fce60c2b3f25cfd7d87169b508c6572cec85f83b (patch) | |
tree | 433f7cba105bb703143b2d5531c00ba2b285a55c | |
parent | 1d57b81d2610f8c104fcead874995a583274d12d (diff) | |
download | redot-engine-fce60c2b3f25cfd7d87169b508c6572cec85f83b.tar.gz |
Fix update mouse cursor state wrong mouse position
-rw-r--r-- | scene/main/window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/window.cpp b/scene/main/window.cpp index e5873f0e9a..23843938a4 100644 --- a/scene/main/window.cpp +++ b/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() { |