From d154937ac2fdf5877095c4a0f1076cba04d7c3d1 Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Sat, 26 Jul 2025 22:25:57 +0200 Subject: feat: lock playhead to frame (instead of floating) and add autoscroll to timeline --- apps/web/src/components/editor/timeline/index.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'apps/web/src/components/editor/timeline/index.tsx') diff --git a/apps/web/src/components/editor/timeline/index.tsx b/apps/web/src/components/editor/timeline/index.tsx index bcaece89..bdb4433c 100644 --- a/apps/web/src/components/editor/timeline/index.tsx +++ b/apps/web/src/components/editor/timeline/index.tsx @@ -537,12 +537,13 @@ export function Timeline() { tracks={tracks} timelineRef={timelineRef} trackLabelsRef={trackLabelsRef} + tracksScrollRef={tracksScrollRef} isVisible={showSnapIndicator} /> {/* Timeline Header with Ruler */}
{/* Track Labels Header */} -
+
{/* Empty space */} . @@ -651,7 +652,7 @@ export function Timeline() { {tracks.length > 0 && (
-- cgit v1.3.1