Skip to content

The open-source CapCut alternative

fix: increase z-index of playhead for improved visibility over timeline while dragging

pratiyankkumarb288cc0eeeac
diff --git a/apps/web/src/components/editor/timeline/timeline-playhead.tsx b/apps/web/src/components/editor/timeline/timeline-playhead.tsx
index 33fcf4f5..77e1b68f 100644
--- a/apps/web/src/components/editor/timeline/timeline-playhead.tsx
+++ b/apps/web/src/components/editor/timeline/timeline-playhead.tsx
@@ -72,7 +72,7 @@ export function TimelinePlayhead({
top: 0,
height: `${totalHeight}px`,
width: "2px", // Slightly wider for better click target
- zIndex: 50,
+ zIndex: 100,
}}
onMouseDown={handlePlayheadMouseDown}
>