diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-10-07 11:10:13 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2018-10-07 11:10:13 +0200 |
commit | 32ee3bf092724885d052ec897f0a7ced40c3ef0f (patch) | |
tree | df12c63fe5da8fe4d516e14801a042025a9f31f7 /editor | |
parent | bf6dcb91059c7cb59771cbff23364612309193a4 (diff) |
Revert "Make KEY_ESCAPE close all output/debugger docks on bottom"
This reverts commit 2ae2735a7a2631ef1a2c901a81135b1a1f3f954f.
It also closes panels like the shader text editor when trying to
discard code completion tooltips. It could be readded with extra
care that modals like tooltips will take precedence and mark the
event as handled.
Fixes #17159, fixes #20738, closes #22727.
Diffstat (limited to 'editor')
-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(); } |