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

Regression fix: Added pause check in MovieClip.__tick #778

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ggVGc
Copy link

@ggVGc ggVGc commented Jun 22, 2016

Recently while updating from 0.7.0 to 0.8.1, we noticed some occasional odd behaviour with MovieClips.
The issue is showcased in this fiddle, http://jsfiddle.net/z4mfq25j/1/

Essentially movieclips that are supposed to be stopped, sometimes play through once before looping and then stopping. It seems a check for this.paused has gone missing from the __tick method of MovieClip, compared to the 0.7.0 version, seemingly from refactoring and the addition of the advance method which did not previously exist.
This PR adds it again, and solves the issue for us, but is not extensively tested.

@ggVGc ggVGc changed the title Added pause check in MovieClip.__tick Regression fix: Added pause check in MovieClip.__tick Jun 22, 2016
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.

1 participant