From 90f4e6ab2089e691002639dd2fa4df73ad356ef7 Mon Sep 17 00:00:00 2001 From: umsangdon Date: Thu, 1 Oct 2026 13:42:50 +0900 Subject: [PATCH] =?UTF-8?q?fix(m01-sl):=20=EB=B0=94=EA=B9=A5=20=EA=B0=92?= =?UTF-8?q?=20=E2=80=94=20=EC=98=9B=20=EB=8B=B5=EC=9D=80=20=EB=B2=84?= =?UTF-8?q?=EB=A6=AC=EA=B3=A0=20=EB=8B=A4=EC=8B=9C=20=EB=B0=9B=EC=9D=8C=20?= =?UTF-8?q?=C2=B7=20=EC=95=84=EC=A7=81=20=EA=B3=A0=EB=A5=B4=EC=A7=80=20?= =?UTF-8?q?=EC=95=8A=EC=9D=80=20=EC=83=81=EC=9E=90=EB=8A=94=20=EB=AC=BB?= =?UTF-8?q?=EC=A7=80=20=EC=95=8A=EC=9D=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016PSXsvyDxjNmufteN5bqmt --- M01_MasterData/SheetLogic/M01_SL_Entry_Paper.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/M01_MasterData/SheetLogic/M01_SL_Entry_Paper.ts b/M01_MasterData/SheetLogic/M01_SL_Entry_Paper.ts index 592167476..43a42169b 100644 --- a/M01_MasterData/SheetLogic/M01_SL_Entry_Paper.ts +++ b/M01_MasterData/SheetLogic/M01_SL_Entry_Paper.ts @@ -103,6 +103,9 @@ export function outsidePlaces(M: Mods, sl: SheetLogic): SlOutsideAt[] { const at = new Map(); const put = (p: SlOutsideAt): void => { const k = `${p.sheet}!${p.cell.toUpperCase()}`; + // 아직 고르지 않은 상자(빈 번호)는 묻지 않음 + const it = p.item as { key?: string; table?: string; element?: string }; + if (!(it.key ?? it.table ?? it.element)) return; if (!at.has(k)) at.set(k, p); }; M.item.itemOutsides(sl).forEach(put); @@ -184,7 +187,11 @@ export function showPaper( outsideTimer = setTimeout(() => { const from = sl; void fillOutside(M, from).then(({ sl: next, errors }) => { - if (sl !== from) return; // 그 사이 또 바뀜 — 다음 그리기가 다시 받음 + if (sl !== from) { + // 그 사이 또 바뀜 — 지금 것으로 다시 받음(옛 답 · 옛 까닭은 버림) + outsideSig = ""; + return refreshOutside(); + } if (savedSl === from) savedSl = next; sl = next; outsideSig = sigOf(next);