1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-02-18 19:43:14 +00:00

removed an addition

The change: 625fe4cdd1
is moved over to a new pr
This commit is contained in:
Variable 2024-09-14 14:18:26 +05:00 committed by GitHub
parent c3d5006015
commit 4f51f0d100
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,13 +29,6 @@ func _ready() -> void:
size_velocity_button.toggled.connect(
_on_dynamics_toggled.bind(size_velocity_button, SIZE, Tools.Dynamics.VELOCITY)
)
for child: Control in $VBoxContainer.get_children():
## Resets the y-size to an appropriate value
child.visibility_changed.connect(func ():
await get_tree().process_frame
set_size(Vector2i(size.x, 0))
set_size(Vector2i(size.x, size.y + 10))
)
func _input(event: InputEvent) -> void: