diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-07-01 15:02:34 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-07-01 15:02:34 +0200 |
| commit | ac4ff63438089228f935014cac75504b3f7f3a5a (patch) | |
| tree | 862e770a297365a3bccccd2e7e842aebbf3f6853 /apps | |
| parent | ee973cad21440d03bf9d0308eb8a313c92b3e7ef (diff) | |
| download | opencut-ac4ff63438089228f935014cac75504b3f7f3a5a.tar.gz | |
fix: ensure playback ruler appears above everything else
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/web/src/components/editor/timeline.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/web/src/components/editor/timeline.tsx b/apps/web/src/components/editor/timeline.tsx index b16250ea..71e4aa53 100644 --- a/apps/web/src/components/editor/timeline.tsx +++ b/apps/web/src/components/editor/timeline.tsx @@ -984,7 +984,7 @@ export function Timeline() { {/* Playhead in ruler (scrubbable) */} <div - className="absolute top-0 bottom-0 w-0.5 bg-red-500 pointer-events-auto z-10 cursor-ew-resize" + className="absolute top-0 bottom-0 w-0.5 bg-red-500 pointer-events-auto z-50 cursor-ew-resize" style={{ left: `${playheadPosition * 50 * zoomLevel}px` }} onMouseDown={handlePlayheadMouseDown} > @@ -1118,7 +1118,7 @@ export function Timeline() { {/* Playhead for tracks area (scrubbable) */} {tracks.length > 0 && ( <div - className="absolute top-0 w-0.5 bg-red-500 pointer-events-auto z-20 cursor-ew-resize" + className="absolute top-0 w-0.5 bg-red-500 pointer-events-auto z-50 cursor-ew-resize" style={{ left: `${playheadPosition * 50 * zoomLevel}px`, height: `${tracks.length * 60}px`, |
