commit c7cd5bb7b0744d22b5b298e93aedde70b179055f
parent ae790788dd6167eb64af41e6e9c9abccd5fe2cb1
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Sun, 1 Nov 2026 12:48:15 -0500
umtool bench: the stamp fix's Move buttons carry their own attribute again (the words at the second were shadowing the copy's prefix)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/umtool/components/projects/ClipBench.tsx b/umtool/components/projects/ClipBench.tsx
@@ -2897,7 +2897,7 @@ export default function ClipBench({
const m = fix.outside.marks[0];
const at = m[how];
if (how === "nearest" && fix.outside.kind === "mark" && Math.abs(m.nearest - m.first) < 0.005) return null;
- const w = wordsAt(at);
+ const words = wordsAt(at);
return (
<button
key={how}
@@ -2905,10 +2905,10 @@ export default function ClipBench({
{...{ [`data-${w}-fix-move`]: how }}
disabled={!!busy}
className={buttonVariants({ variant: "outline", size: "sm" })}
- title={w ? `it lands on “${w}”` : undefined}
+ title={words ? `it lands on “${words}”` : undefined}
onClick={() => void save({ ...fix.patch, ...(fix.outside.kind === "mute" ? { muteFix: how } : { markFix: how }) })}
>
- Move {fix.outside.kind === "mute" ? "the mark" : "the stamp"} to {at.toFixed(2)} ({how === "first" ? "first second" : "nearest"}){w ? ` — “${w}”` : ""}
+ Move {fix.outside.kind === "mute" ? "the mark" : "the stamp"} to {at.toFixed(2)} ({how === "first" ? "first second" : "nearest"}){words ? ` — “${words}”` : ""}
</button>
);
})}