impetus icon indicating copy to clipboard operation
impetus copied to clipboard

Fix infinite ticks when using negative multiplier

Open stephg opened this issue 8 years ago • 1 comments

I was using impetus to update scrollLeft and scrollTop of a parent container and thus using a negative multiplier to invert scroll direction.

Then the stop condition for requesting new animation frames was never hit. destroy() can't stop it either - that would be worth a fix too (#31).

stephg avatar Jan 18 '18 11:01 stephg

This patch solves a really important issue. @chrisbateman have you any plan to merge it anytime soon? Thanks

GianlucaGuarini avatar Feb 19 '19 13:02 GianlucaGuarini