diff options
| author | Hein-Pieter van Braam | 2018-03-01 23:06:26 +0100 |
|---|---|---|
| committer | Hein-Pieter van Braam | 2018-03-01 23:06:26 +0100 |
| commit | 53693e393d763a264f0577590c67cd5e6c5a3115 (patch) | |
| tree | e80575561bd67d1d12c2a90dbfb9270b1266f005 /editor/editor_node.cpp | |
| parent | 3f7e036c4fd6eaa49839a70932a3445412ff7304 (diff) | |
| download | godot-53693e393d763a264f0577590c67cd5e6c5a3115.tar.gz godot-53693e393d763a264f0577590c67cd5e6c5a3115.tar.zst godot-53693e393d763a264f0577590c67cd5e6c5a3115.zip | |
Revert "Make KEY_ESCAPE close all output/debugger docks on bottom"
This reverts commit c04d8684765b2adc2fe2af56741ff8a2b8953f75.
This caused a regression when trying to close the typing suggestion.
Reverting this for now until a better implementation for this behavior
gets made.
Diffstat (limited to 'editor/editor_node.cpp')
| -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 ce789b1c5..7441e322b 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -217,12 +217,6 @@ void EditorNode::_unhandled_input(const Ref<InputEvent> &p_event) { } else if (ED_IS_SHORTCUT("editor/editor_prev", 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); - } - } } } |
