The open-source CapCut alternative
fix: allow real-time playhead on ruler and cursor change
Maze Winther4880e3b10c20
diff --git a/apps/web/src/components/editor/timeline.tsx b/apps/web/src/components/editor/timeline.tsxindex e302ac1a..fb4723d6 100644--- a/apps/web/src/components/editor/timeline.tsx+++ b/apps/web/src/components/editor/timeline.tsx@@ -901,10 +901,11 @@ export function Timeline() {<ScrollArea className="w-full" ref={rulerScrollRef}><divref={rulerRef}- className="relative h-4 select-none cursor-pointer"+ className="relative h-4 select-none cursor-default"style={{width: `${dynamicTimelineWidth}px`,}}+ onMouseDown={handleRulerMouseDown}>{/* Time markers */}{(() => {