A conversation always advanced on its own once a line finished, so an author had
no way to let a line sit while the player reads it, or to pace a quiet moment.
Dialogue nodes now carry an optional requireContinue flag, off by default. The
line types and plays its clip as usual, then the footer offers a single Continue
button instead of moving on. Enter and Space resume it too.
waitsForContinue in dialogue.ts is the only place the rule lives: the flag must
be on and the node must have a successor, because a dead end would give the
player a button that does nothing. The runtime and the editor's draft preview
both call it, and the canvas card tags such a node continue.
The cascade parks on a promise rather than returning, so Continue resumes the
same walk and the next line still gets its beat between lines. close() and
begin() release a parked promise, so a conversation closed mid-gate cannot leave
a suspended walk behind; the existing token check makes the stale one return.
Also in this change, from the same request: the draft preview is centred
vertically instead of pinned to the top, and gains a Back button that pops a
trail of the cards walked through. The trail is separate from the visited set so
stepping back does not un-spend a once choice.
Verified with a three-line probe document: the gated first line was still alone
in the log after 3.7s with a Continue button showing, clicking it landed the
ungated second line and parked on the gated third, and Enter from there reached
the end node. In the editor, the panel measured 0px off centre and Back returned
to the previous card. 4 pure tests cover the rule; 212 tests pass across 19 files.