diff options
| author | Simon Orzel <simonorzel@gmail.com> | 2025-07-17 01:13:38 +0200 |
|---|---|---|
| committer | Simon Orzel <simonorzel@gmail.com> | 2025-07-17 01:13:38 +0200 |
| commit | 0d2894feda369d518f650ac2c832edb0bb8b9254 (patch) | |
| tree | a74b8966c6ae5cc2351846da028cfb1edc7d6753 /apps/web/src/components/editor/timeline-playhead.tsx | |
| parent | 6ff4bcd09391096e7c231a53484fd30dca939690 (diff) | |
| download | opencut-0d2894feda369d518f650ac2c832edb0bb8b9254.tar.gz | |
feat: working z indexing and borders
Diffstat (limited to 'apps/web/src/components/editor/timeline-playhead.tsx')
| -rw-r--r-- | apps/web/src/components/editor/timeline-playhead.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/src/components/editor/timeline-playhead.tsx b/apps/web/src/components/editor/timeline-playhead.tsx index 546ee2b4..29d0a270 100644 --- a/apps/web/src/components/editor/timeline-playhead.tsx +++ b/apps/web/src/components/editor/timeline-playhead.tsx @@ -82,7 +82,7 @@ export function TimelinePlayhead({ {/* Playhead dot indicator at the top (in ruler area) */}
<div
- className={`absolute top-1 left-1/2 transform -translate-x-1/2 w-3 h-3 rounded-full border-2 shadow-sm ${isSnappingToPlayhead ? "bg-primary border-primary" : "bg-foreground border-foreground"}`}
+ className={`sticky top-1 left-1 -translate-x-[40%] transform w-3 h-3 rounded-full shadow-sm ${isSnappingToPlayhead ? "bg-primary border-primary" : "bg-foreground border-foreground"}`}
/>
</div>
);
|
