Skip to content
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

Fixed DCollapsibleCategory animation sometimes not finishing #1136

Merged
merged 1 commit into from May 13, 2016

Conversation

Bo98
Copy link
Contributor

@Bo98 Bo98 commented Feb 28, 2016

When the last animation function call is run, anim.Finished will be set to true. The delta has still changed from the last call however so the height still needs to be set. The if check here prevented that and only caused problems. The function stops getting called on its own when the animation has nothing more to do.

@robotboy655 robotboy655 merged commit da3b5fa into Facepunch:master May 13, 2016
@Bo98 Bo98 deleted the dcollapsiblecategory-anim-fix branch May 13, 2016 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants