1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-02-21 13:03:13 +00:00

formatting

This commit is contained in:
Variable 2024-09-12 10:20:06 +05:00 committed by GitHub
parent c6089d6006
commit 267c479830
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,8 +33,8 @@ func _ready() -> void:
## Resets the y-size to an appropriate value ## Resets the y-size to an appropriate value
child.visibility_changed.connect(func (): child.visibility_changed.connect(func ():
await get_tree().process_frame await get_tree().process_frame
size.y = 0 set_size(Vector2i(size.x, 0))
size.y += 10 set_size(Vector2i(size.x, size.y + 10))
) )