mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-30 23:19:49 +00:00
[skip ci] Set a default name for the CollapsibleContainers, if they have none
Mostly useful for debugging CollapsibleContainers made with code
This commit is contained in:
parent
0fc60168e8
commit
fe4fc8b0a2
|
@ -26,6 +26,8 @@ func _init() -> void:
|
||||||
|
|
||||||
|
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
|
if name.is_empty():
|
||||||
|
name = "CollapsibleContainer"
|
||||||
_button.flat = flat
|
_button.flat = flat
|
||||||
_button.toggle_mode = true
|
_button.toggle_mode = true
|
||||||
_button.mouse_default_cursor_shape = Control.CURSOR_POINTING_HAND
|
_button.mouse_default_cursor_shape = Control.CURSOR_POINTING_HAND
|
||||||
|
|
Loading…
Reference in a new issue