@@ -58,7 +58,7 @@ func _build_ui() -> void:
5858 blackboard_vbox .hide ()
5959 graph_container .add_child (blackboard_vbox )
6060
61- # “ Run Project for debugging” overlay
61+ # " Run Project for debugging" overlay
6262 message = Label .new ()
6363 message .text = "Run Project for debugging"
6464 message .horizontal_alignment = HORIZONTAL_ALIGNMENT_CENTER
@@ -81,7 +81,7 @@ func _init_graph() -> void:
8181 graph_container .add_child (graph )
8282 graph_container .move_child (graph , 0 )
8383
84- # “ Make Floating” button
84+ # " Make Floating" button
8585 var float_btn = Button .new ()
8686 float_btn .name = "MakeFloatingButton"
8787 float_btn .flat = true
@@ -92,7 +92,7 @@ func _init_graph() -> void:
9292 )
9393 graph .get_menu_container ().add_child (float_btn )
9494
95- # “ Toggle Panel” button
95+ # " Toggle Panel" button
9696 var toggle_btn = Button .new ()
9797 toggle_btn .name = "TogglePanelButton"
9898 toggle_btn .flat = true
@@ -117,6 +117,10 @@ func start() -> void:
117117 get_tree ().create_timer (delay ).timeout .connect (_notify_state )
118118 else :
119119 _notify_state ()
120+
121+ # Auto-detach if enabled in project settings - check every time
122+ if ProjectSettings .get_setting ("beehave/debugger/start_detached" , false ):
123+ emit_signal ("make_floating" )
120124
121125
122126func _notify_state () -> void :
0 commit comments