From 798b67b15af0e77f9698cba77c99650d62c7c7f5 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Thu, 22 Feb 2024 08:08:16 -0600 Subject: [PATCH] use as much resolution as possible --- web/src/hooks/use-handle-dragging.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/hooks/use-handle-dragging.ts b/web/src/hooks/use-handle-dragging.ts index f25fe425a..80c3f6715 100644 --- a/web/src/hooks/use-handle-dragging.ts +++ b/web/src/hooks/use-handle-dragging.ts @@ -111,7 +111,7 @@ function useDraggableHandler({ } }); if (setHandlebarTime) { - setHandlebarTime(segmentStartTime); + setHandlebarTime(timelineStart - segmentIndex * segmentDuration); } } }