commit 6d91c82603dc53bf863268da531c839d4cfd0880
parent a23976c8dcedf05170d5e362effe5f6609b3f5b7
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Wed, 4 Nov 2026 02:26:37 -0500
umtool: a media scene opens as the item before it ended -- the column down to the carried message centred (its foot a margin above the window's when it runs past), not the whole column with the hidden messages under it; a message answering the one drawn just above it draws no "Replying to" line
Seen on the jiggle trio's stills (a copy of the Mr. Obvious cut): the reply's
first frame jumped the carried "It jiggle." up the card, and drew it with a
reply line its own read never showed.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
2 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/umtool/report-to-video/post-media-scene.mjs b/umtool/report-to-video/post-media-scene.mjs
@@ -296,8 +296,13 @@ export function sceneLayout(base, entry, scene) {
}
const baseCarries = !!base?.tiles?.some((t) => t.mode === "carry");
const scenes = [];
- scene.before.forEach((card, j) => {
- if (drawn.has(postIdOf(card))) return;
+ scene.before.forEach((card0, j) => {
+ if (drawn.has(postIdOf(card0))) return;
+ // A message answering the one drawn just above it says so by its place: no "Replying to" line (as its own
+ // thread read drew it, the post it answers a tile over it).
+ const above = j > 0 ? postIdOf(scene.before[j - 1]) : "";
+ const answers = (Array.isArray(card0.parents) ? card0.parents : [])[0]?.id;
+ const card = above && answers !== undefined && String(answers) === above ? (({ parents, replyingTo, ...rest }) => (void parents, void replyingTo, rest))(card0) : card0;
scenes.push({ scope: `scene:${j}`, mode: "context", read: false, entry: card });
});
if (!baseCarries && scenes.length && scene.before.length - 1 === Number(scenes[scenes.length - 1].scope.slice(6))) scenes[scenes.length - 1].mode = "carry";
diff --git a/umtool/report-to-video/read-follow.mjs b/umtool/report-to-video/read-follow.mjs
@@ -468,7 +468,12 @@ export function threadPath(follow, geo) {
const carry = (th.tiles ?? []).find((t) => t.mode === "carry");
const g0 = at(0);
let off;
- if (carry && g0.tiles[carry.scope]) off = placed(g0, g0.tiles[carry.scope].top - m);
+ if (carry && g0.tiles[carry.scope] && th.scene) {
+ // A MEDIA SCENE (post-media-scene.mjs): framed as the item before ended -- what is on screen (the column down
+ // to the carried message) centred, or its foot a margin above the window's when it runs past.
+ const vis = g0.tiles[carry.scope].bottom;
+ off = vis <= H ? Math.round(((vis - H) / 2) * 100) / 100 : placed(g0, vis - H + m);
+ } else if (carry && g0.tiles[carry.scope]) off = placed(g0, g0.tiles[carry.scope].top - m);
else if (read.length) {
const g = at(read[0].start - lead + span);
off = placed(g, g.blocks[read[0].k].top - m);