This commit is contained in:
2025-08-31 17:53:17 -05:00
parent 6d75b33775
commit aea5158d6e
161 changed files with 13444 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
@tool
extends Panel
@export var SizeClosed: int = 24
@onready var content = get_node_or_null("Content")
func _on_BtnTogglePanel_pressed():
if (size.y == SizeClosed):
# Open:
anchor_bottom = 1
offset_bottom = -16
if content:
content.show()
else:
# Close:
anchor_bottom = 0
size.y = SizeClosed
if content:
content.hide()