Closed alexkn1 closed 1 year ago
Hey @alexkn1
Not a legitimate solution, just a workaround, but you can trigger another animation via setTimeout
function from the first animation's callback.
e.g.
m.contestCompletedTextBlock.opacity = 1.0
Animator().fadeOut(m.contestCompletedTextBlock, { duration: 2 }).then(sub (state as String)
setTimeout(fadeInTextBlock, 0)
end sub)
sub fadeInTextBlock()
Animator().fadeIn(m.contestCompletedTextBlock, { duration: 2 })
end sub
Anyway, this issue should be addressed and solved properly.
RadoslawZambrowski
@RadoslawZambrowski
This worked! However, I am looking for a smoother transition between the two. There is about a half a second delay when going from one to another.
Thanks!
When using animation utility, I get:
[Promise] Trying to complete already completed promise
I tried this:
I tried finishAll, stopAll, resolve() And it still prints out that Promise msg. However, if I try it on another node, it works fine. It seems like when re-using on the same node it does this.