mirror of
https://github.com/videojs/video.js.git
synced 2025-01-21 11:02:08 +02:00
df927de320
We were always setting `scrubbing(true)` on mouse down. This means, that we'd use `fastSeek` even when seeking while clicking, rather than only when scrubbing. The main fix involves knowing in `handleMouseMove` whether we were called directly as a `mousemove` handler or whether it was called from `handleMouseDown`. This means that when `handleMouseMove` is called via `handleMouseDown` we can skip setting `scrubbing(true)` and only do it when we are scrubbing directly.