mirror of
https://github.com/flarum/framework.git
synced 2025-04-14 15:10:35 +08:00

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.
Description
Simple forum software for building great communities.
202 MiB
Languages
PHP
60.7%
TypeScript
26%
JavaScript
7.9%
Less
4.4%
Blade
0.8%
Other
0.2%