Fix coordinate system for stretched viewports for subwindows.
This commit is contained in:
parent
19950076b1
commit
3f7770c453
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue