Archilyzer · Source

archilyzer

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

commit fe663a2166dda60a2abf4bf4b6d177db7e920348
parent 8e15ad905165fd514b1b1193af3bc73e816dd90f
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Wed,  4 Nov 2026 13:21:02 -0500

umtool: the join's same content (the carried post drawn alike, the same width) is never a double image -- the item before's card is its first frame only

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

Diffstat:
Mumtool/report-to-video/post-join.mjs | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/umtool/report-to-video/post-join.mjs b/umtool/report-to-video/post-join.mjs @@ -83,7 +83,7 @@ export function joinFrameAt(g, p) { e: r2(e), R: { x: r2(R.x), y: r2(R.y), width: r2(R.width), height: r2(R.height) }, own: { tx: r2(R.x - B.x), ty: r2(R.y - B.y), s: Math.round(s * 10000) / 10000, clipH: r2(R.height / Math.max(1e-6, s)), op: r2(opOwn) }, - from: { x: r2(R.x), y: r2(R.y), s: Math.round((R.width / Math.max(1, A.width)) * 10000) / 10000, op: r2(g.same ? 1 - Math.min(1, e / 0.3) : 1 - y) }, + from: { x: r2(R.x), y: r2(R.y), s: Math.round((R.width / Math.max(1, A.width)) * 10000) / 10000, op: r2(g.same ? (p <= 0 ? 1 : 0) : 1 - y) }, slotFrom: g.slotA && !sameSlot ? r2(1 - e) : g.slotA ? 1 : 0, slotTo: g.slotB && !sameSlot ? r2(e) : g.slotB ? 1 : 0, }; @@ -195,7 +195,8 @@ export function applyJoinState(p, doc = document) { from.style.width = `${A.width}px`; from.style.transform = `scale(${R.width / Math.max(1, A.width)})`; from.style.clipPath = `inset(0 0 ${Math.max(0, A.height - R.height / (R.width / Math.max(1, A.width)))}px 0)`; - from.style.opacity = String(g.same ? 1 - Math.min(1, e / 0.3) : 1 - y); + // The same content drawn alike: the item before's card is the first frame only (never a double image). + from.style.opacity = String(g.same ? (v <= 0 ? 1 : 0) : 1 - y); } if (slotFrom) { slotFrom.style.display = g.slotA && !sameSlot ? "block" : "none";