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

Allow animation speed greater than 0 #2664

Merged
merged 1 commit into from
Aug 16, 2016
Merged

Allow animation speed greater than 0 #2664

merged 1 commit into from
Aug 16, 2016

Conversation

jayrobin
Copy link
Contributor

This PR changes

  • Documentation (jsdoc)
  • Nothing, it's a bug fix

Animation.speed= sets delay to 1000 / value if value is greater than or equal to 1. However, setting delay directly allows for animation delays greater than 1000. Therefore, changing Animation.speed= to allow for speed greater than 0.

@photonstorm
Copy link
Collaborator

Thanks, happy to merge this change in.

@photonstorm photonstorm merged commit 435ff9a into phaserjs:dev Aug 16, 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.

2 participants