mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
Fix coordinate system for stretched viewports for subwindows.
This commit is contained in:
parent
19950076b1
commit
3f7770c453
@ -2691,7 +2691,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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user