We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0c7dd4 commit 625fe4cCopy full SHA for 625fe4c
src/UI/GlobalToolOptions/DynamicsPanel.gd
@@ -29,6 +29,13 @@ func _ready() -> void:
29
size_velocity_button.toggled.connect(
30
_on_dynamics_toggled.bind(size_velocity_button, SIZE, Tools.Dynamics.VELOCITY)
31
)
32
+ for child: Control in $VBoxContainer.get_children():
33
+ ## Resets the y-size to an appropriate value
34
+ child.visibility_changed.connect(func ():
35
+ await get_tree().process_frame
36
+ size.y = 0
37
+ size.y += 10
38
+ )
39
40
41
func _input(event: InputEvent) -> void:
0 commit comments