mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Fix update mouse cursor state wrong mouse position
This commit is contained in:
parent
1d57b81d26
commit
fce60c2b3f
1 changed files with 1 additions and 1 deletions
|
@ -810,7 +810,7 @@ void Window::update_mouse_cursor_state() {
|
||||||
mm->set_position(pos);
|
mm->set_position(pos);
|
||||||
mm->set_global_position(xform.xform(pos));
|
mm->set_global_position(xform.xform(pos));
|
||||||
mm->set_device(InputEvent::DEVICE_ID_INTERNAL);
|
mm->set_device(InputEvent::DEVICE_ID_INTERNAL);
|
||||||
push_input(mm);
|
push_input(mm, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Window::show() {
|
void Window::show() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue