From ac0208664756f5de2ab28a7a44d8c820d3d7f4af Mon Sep 17 00:00:00 2001 From: Markus Sauermann <6299227+Sauermann@users.noreply.github.com> Date: Wed, 10 May 2023 21:56:04 +0200 Subject: [PATCH] Propagate shortcuts to SubViewports `push_unhandled_input` no longer propagates events to `SubViewports`. --- editor/window_wrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/window_wrapper.cpp b/editor/window_wrapper.cpp index 16cafe573694..21b0a1a21d2e 100644 --- a/editor/window_wrapper.cpp +++ b/editor/window_wrapper.cpp @@ -62,7 +62,7 @@ class ShortcutBin : public Node { if (Object::cast_to(p_event.ptr()) || Object::cast_to(p_event.ptr())) { // HACK: Propagate the window input to the editor main window to handle global shortcuts. - grandparent_window->push_unhandled_input(p_event); + grandparent_window->push_input(p_event); if (grandparent_window->is_input_handled()) { get_viewport()->set_input_as_handled();