mirror of
https://github.com/flarum/framework.git
synced 2024-11-26 10:14:16 +08:00
Simple forum software for building great communities.
d57a9f100a
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. |
||
---|---|---|
framework/core |