Archilyzer · Source

archilyzer

Archilyzer
git clone https://archilyzer.pages.dev/source/archilyzer.git
Log | Files | Refs | README | LICENSE

commit de5bc2245a15da07fb168c0bf0fc9ea9a364f19c
parent d2350173f68b7880912e4a7cab62bbfced19db91
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Fri,  6 Nov 2026 23:00:14 -0500

umtool bench: the Clip-mode line fits beside its button; the modes' screenshots take the instrument's column

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Diffstat:
Mumtool/components/projects/ClipBench.tsx | 2+-
Mumtool/e2e/gaps-zoom.spec.ts | 6++----
2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/umtool/components/projects/ClipBench.tsx b/umtool/components/projects/ClipBench.tsx @@ -3389,7 +3389,7 @@ export default function ClipBench({ Reviewed {hms(after.start)}โ€“{hms(after.end)} <span className="text-[var(--color-dim)]"> {" "}ยท plays {hms(after.cutStart ?? after.start)}โ€“{hms(after.cutEnd ?? after.end)} - {after.cutStart != null ? " (the band inside โ€” edit it in Cut)" : ""} + {after.cutStart != null ? " (edit it in Cut)" : ""} </span> </> )} diff --git a/umtool/e2e/gaps-zoom.spec.ts b/umtool/e2e/gaps-zoom.spec.ts @@ -340,10 +340,8 @@ const shot = async (page: Page, name: string, whole = false) => { await box.screenshot({ path: path.join(SHOTS, `${name}.png`) }); return; } - // The mode row and the waveform together. - const a = (await page.locator("[data-bench-mode]").boundingBox())!; - const b = (await box.boundingBox())!; - await page.screenshot({ path: path.join(SHOTS, `${name}.png`), clip: { x: b.x, y: a.y, width: b.width, height: b.y + b.height - a.y } }); + // The mode row, the waveform and its tools: the instrument's whole column. + await page.locator("[data-bench-sel]").screenshot({ path: path.join(SHOTS, `${name}.png`) }); }; /** Drag a waveform handle (the one nearer `a`) from source second a to b. */ const dragHandle = async (page: Page, a: number, b: number) => {