From 08d7c372173655d28a2260b6b7e80c0285d443b2 Mon Sep 17 00:00:00 2001 From: Maurice Date: Fri, 23 Oct 2026 04:33:04 +0000 Subject: [PATCH] fix(journey): a placed list hands on the words after it as a list of their own, which the server and client compile --- shared/src/book/design/design-spreads.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/src/book/design/design-spreads.ts b/shared/src/book/design/design-spreads.ts index 3c1c2dc90..e2e4f3c5a 100644 --- a/shared/src/book/design/design-spreads.ts +++ b/shared/src/book/design/design-spreads.ts @@ -203,7 +203,7 @@ function setPassage(c: ComposeCtx, passage: Passage, after: readonly FlowItem[], function setNext(c: ComposeCtx, item: FlowItem, after: readonly FlowItem[], foot: Foot, waits: boolean): Step | null { if (item.kind === 'story') return setPassage(c, item, after, foot); const list = listUnder(c, item.entry, foot); - if (list) return { els: [list], end: list.frame.y + list.frame.h, rest: after, cut: false }; + if (list) return { els: [list], end: list.frame.y + list.frame.h, rest: [...after], cut: false }; if (waits && listHeight(c, item.entry) <= liveBox(c, 'left').h) return null; const [next, ...later] = after; return next?.kind === 'story' ? setPassage(c, next, later, foot) : null;