diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-07-11 00:48:17 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-07-11 00:48:17 +0200 |
| commit | 4880e3b10c2032fb33ebf9258e6a6f3b46c3f6f0 (patch) | |
| tree | 0cf0cbb273fe8b993a30ef4f0b7867167fe0c279 /apps/web/src/components | |
| parent | 3a241d91120c61fd671073d99d6099f026f7bdec (diff) | |
| download | opencut-4880e3b10c2032fb33ebf9258e6a6f3b46c3f6f0.tar.gz | |
fix: allow real-time playhead on ruler and cursor change
Diffstat (limited to 'apps/web/src/components')
| -rw-r--r-- | apps/web/src/components/editor/timeline.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/web/src/components/editor/timeline.tsx b/apps/web/src/components/editor/timeline.tsx index 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}> <div ref={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 */} {(() => { |
