diff options
-rw-r--r-- | editor/editor_node.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index fda6457e26..18dd85617b 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -227,12 +227,6 @@ void EditorNode::_unhandled_input(const Ref<InputEvent> &p_event) { _editor_select_prev(); } - if (k->get_scancode() == KEY_ESCAPE) { - for (int i = 0; i < bottom_panel_items.size(); i++) { - _bottom_panel_switch(false, i); - } - } - if (old_editor != editor_plugin_screen) { get_tree()->set_input_as_handled(); } |