diff options
| author | toger5 | 2017-09-15 00:28:54 +0200 |
|---|---|---|
| committer | toger5 | 2017-09-15 00:29:31 +0200 |
| commit | b37e869c89208a7b7f04b95bbba36ea57d7fb8fc (patch) | |
| tree | 688ac4adf3e46cf07b0fa45005568312a62eea93 /editor/editor_node.cpp | |
| parent | 4ccf3bb2ed9811d406c5d3dbb2be692751e2eb9e (diff) | |
| download | godot-b37e869c89208a7b7f04b95bbba36ea57d7fb8fc.tar.gz godot-b37e869c89208a7b7f04b95bbba36ea57d7fb8fc.tar.zst godot-b37e869c89208a7b7f04b95bbba36ea57d7fb8fc.zip | |
Diffstat (limited to 'editor/editor_node.cpp')
| -rw-r--r-- | editor/editor_node.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 950f5dcc6..b1dcee146 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -4033,7 +4033,6 @@ void EditorNode::_bottom_panel_switch(bool p_enable, int p_idx) { bottom_panel_items[i].button->set_pressed(i == p_idx); bottom_panel_items[i].control->set_visible(i == p_idx); } - // ScriptEditor::get_singleton()->get_debugger() == bottom_panel_items[i].control if (ScriptEditor::get_singleton()->get_debugger() == bottom_panel_items[p_idx].control) { // this is the debug panel wich uses tabs, so the top section should be smaller Ref<StyleBoxFlat> style_panel_invisible_top = gui_base->get_stylebox("panel", "TabContainer")->duplicate(); int stylebox_offset = gui_base->get_font("font", "Tabs")->get_height() + gui_base->get_stylebox("tab_fg", "Tabs")->get_minimum_size().height + gui_base->get_stylebox("panel", "TabContainer")->get_default_margin(MARGIN_TOP); |
