diff --git a/src/components/GamePage.vue b/src/components/GamePage.vue index ae02ebc..47b19bd 100644 --- a/src/components/GamePage.vue +++ b/src/components/GamePage.vue @@ -248,6 +248,13 @@ function markScreenPlanDirty() { screenPlanDirty.value = true } +function updateScreenPlanText(index: number, value: string | null) { + const step = screenPlanDraft.value[index] + if (!step) return + step.text = value || '' + screenPlanDirty.value = true +} + async function saveScreenPlan() { if (screenPlanSaving.value) return screenPlanSaving.value = true @@ -1093,11 +1100,11 @@ useSimplePolling(() => { />