From 3cdfe24b6c789d75c1e7257d8173004062b0d4f6 Mon Sep 17 00:00:00 2001 From: "hyojun.choi" Date: Tue, 18 Feb 2025 09:52:37 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B2=BD=EC=82=AC,=20=EA=B0=81=EB=8F=84=20?= =?UTF-8?q?=EC=9C=A0=EC=A7=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../floor-plan/modal/placementShape/PlacementShapeSetting.jsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/floor-plan/modal/placementShape/PlacementShapeSetting.jsx b/src/components/floor-plan/modal/placementShape/PlacementShapeSetting.jsx index d3aabd8e..a4162264 100644 --- a/src/components/floor-plan/modal/placementShape/PlacementShapeSetting.jsx +++ b/src/components/floor-plan/modal/placementShape/PlacementShapeSetting.jsx @@ -149,8 +149,11 @@ export default function PlacementShapeSetting({ id, pos = { x: 50, y: 180 }, pla const handleRoofTypeChange = (value) => { const selectedRoofMaterial = roofMaterials.find((roof) => roof.roofMatlCd === value) + setCurrentRoof({ ...selectedRoofMaterial, + pitch: currentRoof?.pitch, + angle: currentRoof?.angle, index: 0, planNo: currentRoof.planNo, roofSizeSet: String(currentRoof.roofSizeSet),