Fixed DCollapsibleCategory animation sometimes not finishing #1136

Merged
merged 1 commit into from May 13, 2016

Projects

None yet

2 participants

@Bo98
Contributor
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 garrynewman:master May 13, 2016
@Bo98 Bo98 deleted the Bo98:dcollapsiblecategory-anim-fix branch May 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment