commit 028cd5e109e0c2a00cf62b3afed623527b52a6c3
parent d1a8d207d1c03b4dc81606171893f19db54dbfa0
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Mon, 9 Nov 2026 23:36:25 -0500
umtool: the stacked deck's tally stands down over a twocrop clip (its row would stand on crop two); the vertical-deck spec at 1366x768
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/umtool/e2e/vertical-deck.spec.ts b/umtool/e2e/vertical-deck.spec.ts
@@ -73,7 +73,7 @@ test("the chrome preview of a vertical cut is the stacked deck: 9:16, the pictur
});
test("Play the cut plays the stacked deck: the rail's section and progress, the source line and its QR, the instruments", async ({ page }) => {
- await page.setViewportSize({ width: 1366, height: 1000 });
+ await page.setViewportSize({ width: 1366, height: 768 });
await page.goto(urls.playHref(PROJECT, { clip: "c04", at: 1 }));
await expect(root(page)).toHaveAttribute("data-play-edges", "render", { timeout: 30_000 });
await expect(page.getByTestId("play-deck")).toBeVisible({ timeout: 30_000 });
diff --git a/umtool/report-to-video/chrome-vdeck.mjs b/umtool/report-to-video/chrome-vdeck.mjs
@@ -270,7 +270,7 @@ export function stackedDeckHtml(schedule, render, opts = {}) {
const label = tallyLabelOf(vr) ?? vr.label ?? v;
return `<div class="tcell" style="border-color:${rgba(color, 0.5)}"><div class="tlab">${esc(label)}</div><div class="tnums">${nums}</div></div>`;
}).join("");
- tallyHtml = `<div class="tally" data-k="tal">${cells}</div>`;
+ tallyHtml = `<div class="talv" data-k="talv"><div class="tally" data-k="tal">${cells}</div></div>`;
// Under a post item's card while it is up; over the source block otherwise.
const dy = g.post.counters.y - (g.counters?.y ?? g.post.counters.y);
L.set("tal", { y: 0 });
@@ -279,6 +279,13 @@ export function stackedDeckHtml(schedule, render, opts = {}) {
L.add("tal", handIn(i) - m.out, m.out + m.in, { y: dy }, "power2.inOut");
if (handOut(i) < total - 1e-6) L.add("tal", handOut(i) - m.out, m.out + m.in, { y: 0 }, "power2.inOut");
});
+ // Over a twocrop clip its row would stand on crop two: it stands down (its strip carries the numbers).
+ L.set("talv", { autoAlpha: 1 });
+ segs.forEach((s, i) => {
+ if (!twocrop(s)) return;
+ L.add("talv", handIn(i) - m.out, m.out, { autoAlpha: 0 }, "power1.in");
+ if (handOut(i) < total - 1e-6) L.add("talv", handOut(i), m.in, { autoAlpha: 1 }, "power2.out");
+ });
}
const site = typeof opts.site === "string" ? opts.site : "";
@@ -324,6 +331,7 @@ export function stackedDeckHtml(schedule, render, opts = {}) {
.scell .sl { font-family: ${cond}; font-size: ${px(21)}px; letter-spacing: 0.08em; color: ${pal.muted}; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scell .svs { position: relative; height: ${px(42)}px; }
.scell .sv { position: absolute; left: 0; top: 0; font-family: ${display}; font-size: ${px(38)}px; line-height: ${px(42)}px; color: ${pal.fg}; white-space: nowrap; }
+ .talv { position: absolute; inset: 0; }
.tally { position: absolute; left: ${ct.x}px; top: ${ct.y}px; width: ${ct.width}px; height: ${ct.height}px; display: flex; gap: ${px(12)}px; }
.tcell { position: relative; flex: 0 1 ${px(230)}px; border: 1px solid; border-radius: ${px(10)}px; background: ${rgba(pal.bg, 0.85)};
display: flex; flex-direction: column; justify-content: center; padding: 0 ${px(16)}px; }