chrisbateman / impetus

Agnostic utility for adding momentum to anything. It's like iScroll, except not for scrolling. Supports mouse and touch events.
chrisbateman.github.io/impetus
MIT License
487 stars 70 forks source link

Bounce Bug #46

Open pongstylin opened 5 years ago

pongstylin commented 5 years ago

Since I'm also using 2-finger pan/scaling, my use case needed the ability to pause/resume 1-finger panning, set initial and resume values, set initial and resume multiplier, set initial and resume X and Y bounds. And, not a useless feature to be seen. It's as if this package was tailor-made for my application. Great work!

Even the bounce feature seems like a nice touch, but I needed to disable it because I notice if the min and max bounds are the same (zero, in my case) it will infinitely bounce between values -1 and 1.

MaKleSoft commented 5 years ago

I'm having the same issue. Since this issue doesn't seem to be getting any attention I may try and fix it myself. Any pointers would be appreciated. (P.S.: Just like @pongstylin, this packages seems tailor-made for my use-case. Thanks for creating this!)