Recommiting glbs for LFS
Deploy Promiscuity Auth API / deploy (push) Successful in 1m59s
Deploy Promiscuity Character API / deploy (push) Successful in 1m16s
Deploy Promiscuity Inventory API / deploy (push) Has been cancelled
Deploy Promiscuity Locations API / deploy (push) Has been cancelled
Deploy Promiscuity Mail API / deploy (push) Has been cancelled
Deploy Promiscuity World API / deploy (push) Has been cancelled
Deploy Promiscuity Crafting API / deploy (push) Has been cancelled
k8s smoke test / test (push) Has been cancelled
Deploy Promiscuity Auth API / deploy (push) Successful in 1m59s
Deploy Promiscuity Character API / deploy (push) Successful in 1m16s
Deploy Promiscuity Inventory API / deploy (push) Has been cancelled
Deploy Promiscuity Locations API / deploy (push) Has been cancelled
Deploy Promiscuity Mail API / deploy (push) Has been cancelled
Deploy Promiscuity World API / deploy (push) Has been cancelled
Deploy Promiscuity Crafting API / deploy (push) Has been cancelled
k8s smoke test / test (push) Has been cancelled
This commit is contained in:
@@ -21,8 +21,10 @@ func _toggle_menu():
|
||||
_animate_menu(false)
|
||||
|
||||
func _arrange_buttons():
|
||||
var buttons = get_children()
|
||||
var buttons = get_children().filter(func(child): return child is Control)
|
||||
var count = buttons.size()
|
||||
if count == 0:
|
||||
return
|
||||
|
||||
for i in range(count):
|
||||
# Calculate the angle for each button in radians
|
||||
@@ -36,7 +38,7 @@ func _arrange_buttons():
|
||||
|
||||
func _animate_menu(opening: bool):
|
||||
var tween = create_tween().set_parallel(true)
|
||||
for button in get_children():
|
||||
for button in get_children().filter(func(child): return child is Control):
|
||||
var final_scale = Vector2.ONE if opening else Vector2.ZERO
|
||||
tween.tween_property(button, "scale", final_scale, transition_speed).from(Vector2.ZERO if opening else Vector2.ONE)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user