Skip to content
This repository was archived by the owner on Jun 17, 2026. It is now read-only.

Commit d802473

Browse files
committed
fix: update snap guide color
1 parent 872bd95 commit d802473

1 file changed

Lines changed: 19 additions & 2 deletions

File tree

src/components/video-editor/timeline/TimelineWrapper.tsx

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,26 @@ const SnapGuide = forwardRef<SnapGuideHandle>((_, ref) => {
6666
return (
6767
<div
6868
ref={elRef}
69-
className="absolute top-0 bottom-0 w-[1px] bg-[#fbbf24] shadow-[0_0_6px_rgba(251,191,36,0.6)] pointer-events-none z-[55]"
69+
className="absolute top-0 bottom-0 w-[2px] bg-[#fbbf24] shadow-[0_0_10px_rgba(251,191,36,0.85),0_0_2px_rgba(251,191,36,1)] pointer-events-none z-[55]"
7070
style={{ opacity: 0, transition: "opacity 0.08s" }}
71-
/>
71+
>
72+
<div
73+
className="absolute -top-[1px] left-1/2 -translate-x-1/2 w-0 h-0"
74+
style={{
75+
borderLeft: "4px solid transparent",
76+
borderRight: "4px solid transparent",
77+
borderTop: "6px solid #fbbf24",
78+
}}
79+
/>
80+
<div
81+
className="absolute -bottom-[1px] left-1/2 -translate-x-1/2 w-0 h-0"
82+
style={{
83+
borderLeft: "4px solid transparent",
84+
borderRight: "4px solid transparent",
85+
borderBottom: "6px solid #fbbf24",
86+
}}
87+
/>
88+
</div>
7289
);
7390
});
7491
SnapGuide.displayName = "SnapGuide";

0 commit comments

Comments
 (0)