mirror of
https://github.com/godotengine/godot.git
synced 2025-10-29 20:51:14 +00:00
Remember only permanent bottom tabs
This commit is contained in:
parent
fd31dc7f32
commit
5dde57e958
6 changed files with 10 additions and 8 deletions
|
|
@ -53,7 +53,7 @@ DebuggerEditorPlugin::DebuggerEditorPlugin(PopupMenu *p_debug_menu) {
|
|||
file_server = memnew(EditorFileServer);
|
||||
|
||||
EditorDebuggerNode *debugger = memnew(EditorDebuggerNode);
|
||||
Button *db = EditorNode::get_singleton()->add_bottom_panel_item(TTR("Debugger"), debugger);
|
||||
Button *db = EditorNode::get_singleton()->add_bottom_panel_item(TTR("Debugger"), debugger, true);
|
||||
// Add separation for the warning/error icon that is displayed later.
|
||||
db->add_theme_constant_override("h_separation", 6 * EDSCALE);
|
||||
debugger->set_tool_button(db);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue