Skip to content

Improve scroll calculation

Choose a tag to compare

@drwpow drwpow released this 20 Aug 14:24
· 15 commits to master since this release

🐛 Bugfixes

  • The calculations were too complicated for threshold="center" and threshold="bottom", and were simplified. In the process, a bug was fixed in calculation (on longer screens, center wasn’t correct).

🐸 Minor changes

  • The final firing was reduced from 500ms to 200ms, resulting in more responsive recalc. In the future, this should be investigated a bit further to find out exactly why the final frame doesn’t fire.