{sceneBreak && ❖
}
-
- {renderEmphasis(previewing ? previewing.text : action.text)}
+
+ {renderEmphasis(shown ? shown.text : action.text)}
{/* The chips describe the *active* attempt's state changes,
- which a previewed one didn't make — so they're hidden
+ which the take on screen didn't make — so they're hidden
rather than shown against the wrong text. */}
- {action.type === 'ai' && !previewing && (
+ {action.type === 'ai' && !shown && (
)}
{/* On every kind of node, not only the AI's: a player's own
@@ -2042,7 +2070,9 @@ export default function Play() {
advId={id}
action={action}
busy={busy}
- preview={previewing}
+ // The pinned take counts as the one on screen, so the
+ // ordinal matches the words above it.
+ preview={shown}
takesKey={takesKey}
onPreview={setPreview}
onSwitchedBranch={adoptWindow}