summaryrefslogtreecommitdiff
path: root/scene/main
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-12-16 13:47:39 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-12-16 13:47:39 +0100
commit8be126272f2f407f8d29e4b3a1d78fe80adf55f5 (patch)
tree9d5eafed636edeb606b05a40317281a144dd9ef8 /scene/main
parentffed638cbc22cb32ba9086a2ed48f62e800d876b (diff)
parent57ff04278bcd2fdb97179491cde84068cb906b90 (diff)
Merge pull request #70075 from Sauermann/fix-missing-shortcut-handled-check
Fix missing check if shortcut event is handled for Control-nodes
Diffstat (limited to 'scene/main')
-rw-r--r--scene/main/scene_tree.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp
index cec8bb9bd1..e17947c27b 100644
--- a/scene/main/scene_tree.cpp
+++ b/scene/main/scene_tree.cpp
@@ -948,6 +948,9 @@ void SceneTree::_call_input_pause(const StringName &p_group, CallInputType p_cal
}
for (const ObjectID &id : no_context_node_ids) {
+ if (p_viewport->is_input_handled()) {
+ break;
+ }
Node *n = Object::cast_to<Node>(ObjectDB::get_instance(id));
if (n) {
n->_call_shortcut_input(p_input);