Revert "Make KEY_ESCAPE close all output/debugger docks on bottom"

This reverts commit c04d868476.

This caused a regression when trying to close the typing suggestion.
Reverting this for now until a better implementation for this behavior
gets made.
This commit is contained in:
Hein-Pieter van Braam 2018-03-01 23:06:26 +01:00
parent 3f7e036c4f
commit 53693e393d
1 changed files with 0 additions and 6 deletions

View File

@ -217,12 +217,6 @@ void EditorNode::_unhandled_input(const Ref<InputEvent> &p_event) {
} else if (ED_IS_SHORTCUT("editor/editor_prev", p_event)) { } else if (ED_IS_SHORTCUT("editor/editor_prev", p_event)) {
_editor_select_prev(); _editor_select_prev();
} }
if (k->get_scancode() == KEY_ESCAPE) {
for (int i = 0; i < bottom_panel_items.size(); i++) {
_bottom_panel_switch(false, i);
}
}
} }
} }