summaryrefslogtreecommitdiff
path: root/scene/main
diff options
context:
space:
mode:
authorMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2022-03-13 18:45:09 +0100
committerMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2022-03-18 18:10:53 +0100
commit3f7770c4539c18bfd756e839ff1a5fd44a70bf91 (patch)
tree4fbdd5ec678dd3e48c1024504f951cbb66fdae4f /scene/main
parent19950076b1edbd924b64ed41d27a5239ca0c1a7b (diff)
Fix coordinate system for stretched viewports for subwindows.
Diffstat (limited to 'scene/main')
-rw-r--r--scene/main/viewport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp
index ec33e5752e..ef33db389c 100644
--- a/scene/main/viewport.cpp
+++ b/scene/main/viewport.cpp
@@ -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;
}