From 509626e644c3ca58fb58f14e55b87e9f4434db3f Mon Sep 17 00:00:00 2001 From: Jaeyoung Lee Date: Tue, 16 Jun 2026 15:19:46 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=A7=80=EB=B6=95=ED=98=95=EC=83=81=20?= =?UTF-8?q?=EC=A0=80=EC=9E=A5=20=ED=9B=84=20=EC=9D=BC=EB=B0=98=20=EC=83=81?= =?UTF-8?q?=ED=83=9C=20=EC=99=B8=EB=B2=BD=EC=84=A0=20=ED=81=B4=EB=A6=AD=20?= =?UTF-8?q?=EC=84=A0=ED=83=9D=20=EB=B3=B5=EC=9B=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [작업내용] : - e17af8f4 가 색칠된 외벽선을 selectable:false 로 잠가, 지붕형상 저장 후 일반 상태에서 외벽선 클릭 선택이 막히던 회귀 수정 - useRoofShapeSetting(자동) / useRoofShapePassivitySetting(수동) 저장 시 외벽선 selectable:true 로 복원 - 드래그는 lockMovement(useCanvas 전역), 보조선 클릭 가로채기는 z-order(18abbeb9)로 이미 별도 차단되어 부작용 없음 Co-Authored-By: Claude Opus 4.8 (1M context) --- src/hooks/roofcover/useRoofShapePassivitySetting.js | 3 ++- src/hooks/roofcover/useRoofShapeSetting.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/hooks/roofcover/useRoofShapePassivitySetting.js b/src/hooks/roofcover/useRoofShapePassivitySetting.js index cabcbe90..f341fdfa 100644 --- a/src/hooks/roofcover/useRoofShapePassivitySetting.js +++ b/src/hooks/roofcover/useRoofShapePassivitySetting.js @@ -253,7 +253,8 @@ export function useRoofShapePassivitySetting(id) { } else { stroke = '#000000' } - line.set({ stroke, strokeWidth: 4, selectable: false, visible: true }) + // [2026-06-16] 저장 후에도 외벽선 클릭 선택 허용. 드래그는 lockMovement(useCanvas), 보조선 가로채기는 z-order(18abbeb9)로 별도 차단 + line.set({ stroke, strokeWidth: 4, selectable: true, visible: true }) }) const wall = addPolygonByLines(lines, { name: POLYGON_TYPE.WALL, fill: 'transparent', stroke: 'black' }) diff --git a/src/hooks/roofcover/useRoofShapeSetting.js b/src/hooks/roofcover/useRoofShapeSetting.js index be939b1b..52b59100 100644 --- a/src/hooks/roofcover/useRoofShapeSetting.js +++ b/src/hooks/roofcover/useRoofShapeSetting.js @@ -150,7 +150,8 @@ export function useRoofShapeSetting(id) { line.set({ stroke, strokeWidth, - selectable: false, + // [2026-06-16] 저장 후에도 외벽선 클릭 선택 허용. 드래그는 lockMovement(useCanvas), 보조선 가로채기는 z-order(18abbeb9)로 별도 차단 + selectable: true, visible: true, })