Skip to content

Pixels instead of percents

Choose a tag to compare

@frux frux released this 21 Aug 11:55
· 40 commits to master since this release
  • Fixed wrong position of animations triggering #14
  • Deleted all converting from pixels to percent. Less calculations, less code, more performance!

BREAKING CHANGES: now you must to specify maximal speed in pixels, not in percent! Maximal speed now is a maximal possible changing of scrollTop per each tween rendering. You still to have to choose your own value of maxSpeed for each animation. But now it's a not abstract units.