mirror of
https://github.com/godotengine/godot.git
synced 2025-02-16 15:50:45 +00:00
Merge pull request #70075 from Sauermann/fix-missing-shortcut-handled-check
Fix missing check if shortcut event is handled for Control-nodes
This commit is contained in:
commit
8be126272f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user