Skip to content

Commit

Permalink
Made layout undocking optional
Browse files Browse the repository at this point in the history
  • Loading branch information
RodZill4 committed Feb 3, 2024
1 parent 53144bd commit 25cba89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion addons/flexible_layout/flexible_layout.gd
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ class FlexWindow:
overlay = null


@onready var allow_undock : bool = false
@export var allow_undock : bool = false

var panels : Dictionary = {}
var flex_layout : FlexLayout
Expand Down
1 change: 1 addition & 0 deletions material_maker/main_window.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ script = ExtResource("2")
[node name="FlexibleLayout" parent="VBoxContainer/Layout" instance=ExtResource("6_ygla4")]
layout_mode = 2
size_flags_horizontal = 3
allow_undock = true
[node name="Main" parent="VBoxContainer/Layout/FlexibleLayout" instance=ExtResource("7_ih0ps")]
layout_mode = 2
Expand Down

0 comments on commit 25cba89

Please sign in to comment.