Merge pull request #115390 from ryevdokimov/float-debugger

Allow debugger dock to float
This commit is contained in:
Thaddeus Crews
2026-04-01 12:55:14 -05:00
3 changed files with 1 additions and 11 deletions

View File

@@ -72,9 +72,7 @@ EditorDebuggerNode::EditorDebuggerNode() {
set_layout_key("Debugger");
set_dock_shortcut(ED_SHORTCUT_AND_COMMAND("bottom_panels/toggle_debugger_bottom_panel", TTRC("Toggle Debugger Dock"), KeyModifierMask::ALT | Key::D));
set_default_slot(EditorDock::DOCK_SLOT_BOTTOM);
set_available_layouts(EditorDock::DOCK_LAYOUT_HORIZONTAL);
set_global(false);
set_transient(true);
set_available_layouts(EditorDock::DOCK_LAYOUT_HORIZONTAL | EditorDock::DOCK_LAYOUT_FLOATING);
_update_margins();