Fix coordinate system for stretched viewports for subwindows.

This commit is contained in:
Markus Sauermann 2022-03-13 18:45:09 +01:00
parent 19950076b1
commit 3f7770c453

View File

@ -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;
}