1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Merge pull request #53013 from Calinou/editor-debugger-bottom-panel-error-warning-highlight-3.x

This commit is contained in:
Rémi Verschelde
2021-11-08 13:15:46 +01:00
committed by GitHub
2 changed files with 7 additions and 0 deletions

View File

@@ -3411,6 +3411,8 @@ ScriptEditor::ScriptEditor(EditorNode *p_editor) {
script_editor = this;
Button *db = EditorNode::get_singleton()->add_bottom_panel_item(TTR("Debugger"), debugger);
// Add separation for the warning/error icon that is displayed later.
db->add_constant_override("hseparation", 6 * EDSCALE);
debugger->set_tool_button(db);
debugger->connect("breaked", this, "_breaked");