Scale up button in default style (instead of scale down). Faster animation

This commit is contained in:
Insality
2020-04-13 19:35:32 +03:00
parent 8815ca8896
commit 0539746519
2 changed files with 4 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ local function scale_to(self, node, to, callback, time, delay, easing)
easing = easing or gui.EASING_INSINE
time = time or M.SCALE_ANIMATION_TIME
delay = delay or 0
time = time or 0.25
time = time or 0.10
gui.animate(node, gui.PROP_SCALE, to, easing, time, delay,
function()
if callback then