Revert "Make KEY_ESCAPE close all output/debugger docks on bottom"
This reverts commit 2ae2735a7a.
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.
This commit is contained in:
parent
bf6dcb9105
commit
32ee3bf092
1 changed files with 0 additions and 6 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue