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

Fix infinite loop of draw when mounting / unmounting #2

Merged
merged 1 commit into from
Mar 28, 2018

Conversation

gnuletik
Copy link
Contributor

This fix intend to fix a bug when mounting / unmounting the component to show 30+ animations.
Without this, there is a big FPS drop after 10+ animations as the draw function is still called even when the animation is paused before.

Setting the visible attribute of the lib to false before unmounting fix it :)

@bibixx bibixx merged commit 3c0d4ea into bibixx:master Mar 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants