-
Notifications
You must be signed in to change notification settings - Fork 841
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
Delay transition #684
Delay transition #684
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This solution will invoke the callback during the "delay" period. The end result will be correct, in that the user will see the delay. The downside is that the animator is working during the delay period and not updating anything.
Ideally the animator would not do any work until the delay has expired.
If this looks particularly complex to implement, suggest putting in a early-out condition. i.e. if the delay hasn't expired return as early as possible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one thing to consider.
Stacked on top of #683 - review that one first.