From fce60c2b3f25cfd7d87169b508c6572cec85f83b Mon Sep 17 00:00:00 2001 From: kit Date: Wed, 31 Jul 2024 14:10:40 -0400 Subject: [PATCH] Fix update mouse cursor state wrong mouse position --- scene/main/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {