mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 09:09:47 +00:00
[DockableContainer change] Don't set layout's resource_name
if it already has a value
Another change that might be worth adding to upstream.
This commit is contained in:
parent
978ddf3b45
commit
85f2f22be7
|
@ -41,7 +41,8 @@ var _root: DockableLayoutNode = DockableLayoutPanel.new()
|
|||
|
||||
|
||||
func _init() -> void:
|
||||
resource_name = "Layout"
|
||||
if resource_name.is_empty():
|
||||
resource_name = "Layout"
|
||||
|
||||
|
||||
func set_root(value: DockableLayoutNode, should_emit_changed := true) -> void:
|
||||
|
|
Loading…
Reference in a new issue