mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Merge pull request #59118 from Sauermann/fix-window-input-event-coordinates
This commit is contained in:
@@ -2719,7 +2719,7 @@ void Viewport::push_input(const Ref<InputEvent> &p_event, bool p_local_coords) {
|
||||
ev = p_event;
|
||||
}
|
||||
|
||||
if (is_embedding_subwindows() && _sub_windows_forward_input(p_event)) {
|
||||
if (is_embedding_subwindows() && _sub_windows_forward_input(ev)) {
|
||||
set_input_as_handled();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user