You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 17:36:07 +00:00
Added accept_event() calls for SceneTreeDock and BaseButton
This commit is contained in:
@@ -114,7 +114,12 @@ void SceneTreeDock::_unhandled_key_input(Ref<InputEvent> p_event) {
|
||||
_tool_selected(TOOL_COPY_NODE_PATH);
|
||||
} else if (ED_IS_SHORTCUT("scene_tree/delete", p_event)) {
|
||||
_tool_selected(TOOL_ERASE);
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
|
||||
// Tool selection was successful, accept the event to stop propagation.
|
||||
accept_event();
|
||||
}
|
||||
|
||||
void SceneTreeDock::instance(const String &p_file) {
|
||||
|
||||
Reference in New Issue
Block a user