From b35ae4407a15f0b787acfcb8f993e1cbc763c723 Mon Sep 17 00:00:00 2001 From: ysCha Date: Tue, 16 Dec 2025 10:44:43 +0900 Subject: [PATCH] =?UTF-8?q?[1351]=EA=B2=BD=EC=82=AC=EB=8F=84=20=EA=B8=B0?= =?UTF-8?q?=EB=B3=B8=20=EC=88=98=EC=B9=98=20=EC=B6=94=EA=B0=80=20inclBase?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modal/placementShape/PlacementShapeSetting.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/floor-plan/modal/placementShape/PlacementShapeSetting.jsx b/src/components/floor-plan/modal/placementShape/PlacementShapeSetting.jsx index e283fff0..4ec45dd5 100644 --- a/src/components/floor-plan/modal/placementShape/PlacementShapeSetting.jsx +++ b/src/components/floor-plan/modal/placementShape/PlacementShapeSetting.jsx @@ -350,7 +350,7 @@ export default function PlacementShapeSetting({ id, pos = { x: 50, y: 180 }, pla label="" className="input-origin block" readOnly={currentRoof?.roofAngleSet !== item.value} - value={index === 0 ? currentRoof?.pitch || '0' : currentRoof?.angle || '0'} + value={index === 0 ? (currentRoof?.pitch ?? basicSetting?.inclBase ?? '0') : (currentRoof?.angle ?? '0')} onChange={(value) => { if (index === 0) { const pitch = value === '' ? '' : Number(value); @@ -372,7 +372,7 @@ export default function PlacementShapeSetting({ id, pos = { x: 50, y: 180 }, pla }} options={{ allowNegative: false, - allowDecimal: true //(index !== 0), + allowDecimal: true }} /> @@ -520,7 +520,7 @@ export default function PlacementShapeSetting({ id, pos = { x: 50, y: 180 }, pla label="" className="input-origin block" ref={roofRef.hajebichi} - value={currentRoof?.hajebichi || '0'} + value={currentRoof?.hajebichi ?? basicSetting?.roofPchBase ?? '0'} onChange={(value) => { const hajebichi = value === '' ? '' : Number(value); setCurrentRoof(prev => ({ -- 2.47.2