From fd83fa3aa010d703ba7620ac11dd08f87e9fc67c Mon Sep 17 00:00:00 2001 From: Jaeyoung Lee Date: Fri, 12 Jun 2026 14:57:38 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=B0=95=EA=B3=B5(gable)=20=EC=A7=80?= =?UTF-8?q?=EB=B6=95=EB=8F=84=20=EC=B2=98=EB=A7=88=EC=84=A0=20=EC=99=B8?= =?UTF-8?q?=EA=B3=BD=20=EC=A0=84=EB=8B=B4=20=EC=8B=9C=20roof=20=EC=9B=90?= =?UTF-8?q?=EB=B3=B8=20=EC=99=B8=EA=B3=BD=EC=84=A0=20=EC=88=A8=EA=B9=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [작업내용] : - drawGableRoof 가 처마선 innerLine 생성(roof.innerLines.push) 후 roof 원본 외곽(stroke)을 transparent 로 숨김 - 박공은 split 공용 함수를 거치지 않으므로 drawGableRoof 내에서 직접 처리 - 처마선 삭제 시 roof 기본 stroke:'black' 이 노출되던 문제 해결 (변별/용마루와 동일 동작) Co-Authored-By: Claude Opus 4.8 (1M context) --- src/util/qpolygon-utils.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/util/qpolygon-utils.js b/src/util/qpolygon-utils.js index 03d72c6a..40f7e695 100644 --- a/src/util/qpolygon-utils.js +++ b/src/util/qpolygon-utils.js @@ -1628,6 +1628,9 @@ export const drawGableRoof = (roofId, canvas, textMode) => { drawRoofPlane(backward) }) roof.innerLines.push(...ridgeLines, ...innerLines) + // 처마선 innerLine 이 외곽선을 전담하므로 roof 원본 외곽(stroke)은 숨긴다. + // (박공은 split 공용 함수를 안 거치므로 여기서 직접 처리 — usePolygon.js 의 roof 기본 stroke:'black') + roof.set({ stroke: 'transparent' }) canvas .getObjects() .filter((obj) => obj.name === 'check')