commit 2ce579cb32865e0bc92195e223f80847c553b6f3
parent 54ace84fb9ea8a18e6e48673c7ec7dd1f20cc757
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Fri, 30 Oct 2026 20:44:44 -0400
Merge lane/walk-cursor: the walk's playhead in its own colour, 2px with a knob, visible over the waveform on a phone
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/umtool/app/globals.css b/umtool/app/globals.css
@@ -80,6 +80,7 @@
--mark: #5fa8a0;
--mark-dim: #6b5d47;
--meter: #b9a2ec;
+ --playhead: #ff5c8a;
--kept: #c6e283;
--kept-text: #c6e283;
--doubt: #ef9a2a;
@@ -138,6 +139,7 @@
--mark: #2e7b73;
--mark-dim: #b5aa97;
--meter: #5d33bd;
+ --playhead: #d1105a;
--kept: #566609;
--kept-text: #566609;
--doubt: #b0730f;
@@ -181,6 +183,7 @@
--mark: #2e7b73;
--mark-dim: #b5aa97;
--meter: #5d33bd;
+ --playhead: #d1105a;
--kept: #566609;
--kept-text: #566609;
--doubt: #b0730f;
@@ -237,6 +240,7 @@
--color-mark: var(--mark);
--color-mark-dim: var(--mark-dim);
--color-meter: var(--meter);
+ --color-playhead: var(--playhead);
--color-kept: var(--kept);
--color-kept-text: var(--kept-text);
--color-doubt: var(--doubt);
diff --git a/umtool/components/projects/bench/EdgeStrip.tsx b/umtool/components/projects/bench/EdgeStrip.tsx
@@ -302,7 +302,9 @@ export default function EdgeStrip({
/>
))}
{playhead != null && inView(playhead) && (
- <div aria-hidden className="pointer-events-none absolute inset-y-0 w-px bg-text" style={{ left: pct(playhead) }} />
+ <div aria-hidden data-strip-playhead="" className="pointer-events-none absolute inset-y-0 z-10 w-[2px] -translate-x-1/2 bg-playhead" style={{ left: pct(playhead) }}>
+ <span className="absolute -top-px left-1/2 size-[7px] -translate-x-1/2 rounded-full bg-playhead" />
+ </div>
)}
{render &&
(["start", "end"] as const).map((edge) =>
diff --git a/umtool/components/projects/review/ClipEditor.tsx b/umtool/components/projects/review/ClipEditor.tsx
@@ -1191,7 +1191,7 @@ function Strip({
<span className="absolute inset-y-0 left-1/2 w-[3px] -translate-x-1/2 rounded bg-signal" />
</span>
))}
- {playhead !== null && playhead >= from && playhead <= to && <span data-playhead={playhead} style={{ left: pct(playhead) }} className="pointer-events-none absolute inset-y-0 w-px bg-text" />}
+ {playhead !== null && playhead >= from && playhead <= to && <span data-playhead={playhead} style={{ left: pct(playhead) }} className="pointer-events-none absolute inset-y-0 z-20 w-[2px] -translate-x-1/2 bg-playhead"><span className="absolute -top-px left-1/2 size-[7px] -translate-x-1/2 rounded-full bg-playhead" /></span>}
</div>
);
}