From 2e6f657f39dc94dcb41612c3e40a5cdd9cc624aa Mon Sep 17 00:00:00 2001 From: umsangdon Date: Tue, 18 Aug 2026 18:44:16 +0900 Subject: [PATCH] =?UTF-8?q?fix(B05):=20=EC=9E=84=EC=8B=9C=20=EB=B0=B0?= =?UTF-8?q?=EC=B9=98=20=EC=A2=8C=ED=91=9C=20=3D=20=EC=B8=A1=EC=A0=90?= =?UTF-8?q?=EB=B2=88=ED=98=B8+=EC=9E=94=EC=97=AC=EA=B1=B0=EB=A6=AC=20?= =?UTF-8?q?=ED=99=95=EC=A0=95=EA=B0=92=20=E2=80=94=20Enter=EB=8F=84=20focu?= =?UTF-8?q?sout=20=EA=B2=BD=EB=A1=9C=EB=A1=9C=20=ED=86=B5=EC=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 측점번호 칸에서 Enter 시 잔여거리 0으로 즉시 배치되던 빈틈 제거. Enter는 포커스만 빼고, 임시 배치는 입력군 이탈(focusout) 한 경로에서 두 칸 합산값으로만 나간다. 배치 좌표는 스냅 없이 입력값 그대로다(노선 범위 클램프만). Co-Authored-By: Claude Opus 5 (1M context) --- B05_Profile/B05_Profile_UI_Structures_Panel.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/B05_Profile/B05_Profile_UI_Structures_Panel.ts b/B05_Profile/B05_Profile_UI_Structures_Panel.ts index 20863684..e9bd9aec 100644 --- a/B05_Profile/B05_Profile_UI_Structures_Panel.ts +++ b/B05_Profile/B05_Profile_UI_Structures_Panel.ts @@ -661,7 +661,11 @@ export function createStructuresSection(callbacks: StructuresCallbacks): Structu }); }); positionRow.addEventListener("keydown", (event) => { - if (event.key === "Enter") commitTempPipe(); + // Enter = 입력 확정 — 포커스를 빼서 focusout 경로 하나로 처리한다(측점번호+ + // 잔여거리 합산값이 그대로 임시 배치 좌표가 된다). + if (event.key === "Enter" && document.activeElement instanceof HTMLElement) { + document.activeElement.blur(); + } }); body.insertBefore(field("메모", memoField), actions);