-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Promise of zero duration tween is not resolved #590
Comments
Where do you use this? Can figure out any other way around. |
I've also encountered that case. Imagine you have a variable holding animation duration, if the animation should be instant you just set the duration to |
okay, Will setting the duration to 0.1 and ease to none will solve this? |
Great catch. That should be resolved in the next release. Sorry about the delay/inconvenience. |
Well, it is all in the title. Every tween has a then method to wait for a promise. If the tween has a duration of zero the promise is not resolved. That can't be right, can it?
Here is a quick pen: https://codepen.io/benwick83/pen/OJeEmmV
The text was updated successfully, but these errors were encountered: