From 9a3645bcaa29f807c8f02cf143c2ed0b00b88b93 Mon Sep 17 00:00:00 2001 From: umsangdon Date: Mon, 28 Sep 2026 22:48:44 +0900 Subject: [PATCH] =?UTF-8?q?fix(M02):=20=EC=A2=8C=EC=B8=A1=20=ED=95=9C=20?= =?UTF-8?q?=EA=B3=B3=20=EB=8B=A4=EC=8B=9C=20=EA=B7=B8=EB=A6=AC=EA=B8=B0?= =?UTF-8?q?=EC=97=90=20=E3=80=8C=EC=9E=90=EC=9E=AC=20=EC=A1=B0=ED=95=A9?= =?UTF-8?q?=E3=80=8D=20=EC=A4=84=EB=8F=84=20=EB=84=A3=EC=9D=8C=20=E2=80=94?= =?UTF-8?q?=20=EA=B3=A0=EB=A6=84=20=ED=91=9C=EC=8B=9C=20=EB=8A=98=20?= =?UTF-8?q?=ED=95=9C=20=EC=A4=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - dev(sub5 990e8e67 「좌측 고름 표시 한 줄만」) 받기 충돌을 두 쪽 다 살려 풂 - 자재 조합 상세를 열 때도 편집 칸이 onOpened 로 좌측 paint 를 부름 · paint 는 양식이 열려 있으면 자재 조합 고름을 지움 - 시험: 자재 조합 상세도 같은 한 곳을 거치는지 확인 줄 더함 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01VwJQ5eRrCKf3nH9EFeKvJz --- M02_MasterTemplete/M02_MasterTemplete_UI_Side.ts | 2 +- resources/tester/test_m02_structure_panel.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/M02_MasterTemplete/M02_MasterTemplete_UI_Side.ts b/M02_MasterTemplete/M02_MasterTemplete_UI_Side.ts index 45ca6fc7..8461ec8f 100644 --- a/M02_MasterTemplete/M02_MasterTemplete_UI_Side.ts +++ b/M02_MasterTemplete/M02_MasterTemplete_UI_Side.ts @@ -215,10 +215,10 @@ export function buildSide(opt: SideOptions): SideHandle { /** 고름 표시는 여기서만 — 목록 · 열 줄 · 자재 조합 줄을 함께 그려야 두 줄이 동시에 안 남음 * (양식이 열려 있으면 자재 조합 고름은 지움 · 자재 조합 상세는 열린 양식이 없음) */ function paint(): void { - if (opt.getOpen()) matset.clear(); paintList(); paintColumns(); paintButtons(); + if (opt.getOpen()) matset.clear(); } // 여는 것은 편집 칸(`onOpen`) — 편집 칸이 열 때마다 `paint` 를 부름(페이지가 이음) diff --git a/resources/tester/test_m02_structure_panel.py b/resources/tester/test_m02_structure_panel.py index 6e832ca0..80733940 100644 --- a/resources/tester/test_m02_structure_panel.py +++ b/resources/tester/test_m02_structure_panel.py @@ -157,6 +157,9 @@ def test_좌측_고름_표시는_열린_것_한_줄뿐(): body = side.split(fn)[1].split("\n }\n")[0] assert "paint" not in body, fn # 여기서 한쪽만 그리면 두 줄이 남음 assert re.search(r"sel = next;\s*onOpened\?\.\(\);", _text(MAIN)) + # 자재 조합 상세도 같은 한 곳 — 열면 양식 · 열 줄 고름 지움 · 양식을 열면 자재 조합 고름 지움 + assert re.search(r"sel = null;\s*onOpened\?\.\(\);", _text(MAIN)) + assert "if (opt.getOpen()) matset.clear();" in side.split("function paint(): void {")[1] assert "() => side.paint()" in _text(M02 / "M02_MasterTemplete_UI_Page.ts")