summaryrefslogtreecommitdiff
path: root/apps/web/src/components/editor/timeline/timeline-ruler.tsx
diff options
context:
space:
mode:
authorSimon Orzel <simonorzel@gmail.com>2025-07-17 02:53:25 +0200
committerSimon Orzel <simonorzel@gmail.com>2025-07-17 02:53:25 +0200
commit1505c1b12f516c65b6a3d076f0e9623a294031d6 (patch)
tree3bf87f9358e24fcec719dd07c8975fb41f33aac4 /apps/web/src/components/editor/timeline/timeline-ruler.tsx
parent98b2103286f04d67db1d57f9e3330efa5d41fdb7 (diff)
downloadopencut-1505c1b12f516c65b6a3d076f0e9623a294031d6.tar.gz
feat: timeline changes
Diffstat (limited to 'apps/web/src/components/editor/timeline/timeline-ruler.tsx')
-rw-r--r--apps/web/src/components/editor/timeline/timeline-ruler.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/web/src/components/editor/timeline/timeline-ruler.tsx b/apps/web/src/components/editor/timeline/timeline-ruler.tsx
index 07a4ad5d..a875fe0f 100644
--- a/apps/web/src/components/editor/timeline/timeline-ruler.tsx
+++ b/apps/web/src/components/editor/timeline/timeline-ruler.tsx
@@ -83,7 +83,7 @@ export function TimelineRuler({
markers.push(
<div
key={i}
- className={`absolute top-0 bottom-0 z-[97] ${
+ className={`absolute top-0 bottom-0 z-[99] ${
isMainMarker
? "border-l border-muted-foreground/40"
: "border-l border-muted-foreground/20"
@@ -91,7 +91,7 @@ export function TimelineRuler({
style={{ left: `${leftPosition}px` }}
>
<span
- className={`absolute top-1 left-1 text-[0.6rem] z-[97] ${
+ className={`absolute top-1 left-1 text-[0.6rem] z-[99] ${
isMainMarker
? "text-muted-foreground font-medium"
: "text-muted-foreground/70"
@@ -108,14 +108,14 @@ export function TimelineRuler({
return (
<div
- className="sticky top-0 bg-card/[0.99] border-b border-muted/30 z-[97]"
+ className="sticky top-0 bg-card/[0.99] border-b border-muted/30 z-[99]"
onMouseDown={handleSelectionMouseDown}
onClick={handleTimelineContentClick}
data-ruler-area
>
<div
ref={rulerRef}
- className="relative h-5 select-none cursor-default pb-1 z-[97]"
+ className="relative h-5 select-none cursor-default pb-1 z-[99]"
onMouseDown={handleRulerMouseDown}
>
{rulerMarkers}