Files
hyperframes/packages
Miguel Angel Simon Sierra b386b55f73 fix(studio): clamp the timeline scrub to 0 instead of dropping it
Dragging the playhead to the start of the composition needed a very slow
drag. The scrub surface begins GUTTER + TRACKS_LEFT_PAD px right of the
viewport edge, and both scrub paths bailed out when the pointer sat left of
that origin rather than clamping. So the last 80px of the drag toward zero
silently did nothing: the playhead stuck at whatever the last in-range sample
reported, and only a drag slow enough to sample inside the thin sliver before
the origin ever reached 0.

Both paths now share getTimelineScrubTime, which clamps to [0, duration]. One
owner, so the live-feedback path and the committed-seek path cannot disagree
about the edge again.
2026-07-27 19:09:16 +02:00
..
2026-07-24 19:03:16 +00:00
2026-07-24 19:03:16 +00:00
2026-07-24 19:03:16 +00:00
2026-07-24 19:03:16 +00:00
2026-07-24 19:03:16 +00:00
2026-07-24 19:03:16 +00:00
2026-07-24 19:03:16 +00:00