commit cb8dd826e2d6ebc4de7b16e15eb40644c98a0095
parent 54ace84fb9ea8a18e6e48673c7ec7dd1f20cc757
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Fri, 30 Oct 2026 20:44:44 -0400
umtool walk: the playhead is its own colour (--playhead), 2px with a knob
On the walk's edge strip the waveform inside the selection is drawn in
--text, the colour the 1px cursor was, so on a phone the cursor vanished
exactly where it mattered. A --playhead token (hot pink, both themes)
clears the strips' teal, lavender and orange; the clip editor's strip
takes it too.
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>
);
}