mirror of
https://github.com/flarum/framework.git
synced 2025-02-02 08:12:02 +08:00
dc8b203037
When the page is scrolled, goToIndex is called, or the page is loaded, various listeners result in the scrubber being updated with a new position and values. However, if goToNumber is called, the scrubber will not be updated. Accordingly, we add logic to the scrubber's onupdate to update itself, but only when needed, as indicated by this This saves us a LOT of unnecessary calls, and makes scrubber movement smoother. |
||
---|---|---|
.. | ||
dist | ||
src | ||
.prettierrc.json | ||
admin.js | ||
forum.js | ||
package-lock.json | ||
package.json | ||
shims.d.ts | ||
tsconfig.json | ||
webpack.config.js |