Jump to content

Animation.speed >=1 - bug or feature?


jayrobin
 Share

Recommended Posts

In the event you want to have an animation playing at slower than 1 frame per second, setting animation.speed to a value 0 < x < 1 has no effect. However, setting delay to < 1000ms works fine, and the animation plays correctly at <1FPS. I was about to open a pull request to allow speed to be set to less than one, but the js doc was pretty clear: "Minimum value is 1.", though it's unclear why.

Anybody know of any reason why animation.speed should always be greater than or equal to one?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...