Skip to content

Fixed: #8531 Shake effect: Duration is multiplied based on number of shakes#722

Closed
WebsiteDeveloper wants to merge 2 commits intojquery:masterfrom
WebsiteDeveloper:patch-2
Closed

Fixed: #8531 Shake effect: Duration is multiplied based on number of shakes#722
WebsiteDeveloper wants to merge 2 commits intojquery:masterfrom
WebsiteDeveloper:patch-2

Conversation

@WebsiteDeveloper
Copy link

I changed the speed generation to Math.round(o.duration/times) to ensure that the given amount of time is the time the animation takes to complete.

…shakes

I changed the speed generation to Math.round(o.duration/times) to ensure that the given amount of time is the time the animation takes to complete.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That should be divided by anims, not times.

@scottgonzalez
Copy link
Member

Thanks, landed in dec9c54.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants