From 5d5fae75b58d433ff32942ff9e514aeb4a4cc951 Mon Sep 17 00:00:00 2001 From: minsik Date: Tue, 5 Nov 2024 15:41:02 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8D=BC=EB=B8=94=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../flowDirection/FlowDirectionSetting.jsx | 46 ++++++++++--------- .../placementShape/PlacementShapeSetting.jsx | 12 +++-- 2 files changed, 32 insertions(+), 26 deletions(-) diff --git a/src/components/floor-plan/modal/flowDirection/FlowDirectionSetting.jsx b/src/components/floor-plan/modal/flowDirection/FlowDirectionSetting.jsx index 8d0ce8c2..b550b424 100644 --- a/src/components/floor-plan/modal/flowDirection/FlowDirectionSetting.jsx +++ b/src/components/floor-plan/modal/flowDirection/FlowDirectionSetting.jsx @@ -60,7 +60,7 @@ export default function FlowDirectionSetting(props) { }, [compasDeg]) return ( -
+

{getMessage('modal.shape.flow.direction.setting')}

-
-
- {Array.from({ length: 180 / 15 + 1 }).map((dot, index) => ( -
setCompasDeg(15 * (12 + index))} - > - {13 - index} +
+
+
+ {Array.from({ length: 180 / 15 + 1 }).map((dot, index) => ( +
setCompasDeg(15 * (12 + index))} + > + {13 - index} +
+ ))} + {Array.from({ length: 180 / 15 - 1 }).map((dot, index) => ( +
setCompasDeg(15 * (index + 1))} + > + {24 - index} +
+ ))} +
+
- ))} - {Array.from({ length: 180 / 15 - 1 }).map((dot, index) => ( -
setCompasDeg(15 * (index + 1))} - > - {24 - index} -
- ))} -
-
diff --git a/src/components/floor-plan/modal/placementShape/PlacementShapeSetting.jsx b/src/components/floor-plan/modal/placementShape/PlacementShapeSetting.jsx index 99b72eb4..decb7fa3 100644 --- a/src/components/floor-plan/modal/placementShape/PlacementShapeSetting.jsx +++ b/src/components/floor-plan/modal/placementShape/PlacementShapeSetting.jsx @@ -180,8 +180,10 @@ export default function PlacementShapeSetting({ id, pos = { x: 50, y: 180 }, set - {getMessage('modal.placement.initial.setting.size')} - +
+ {getMessage('modal.placement.initial.setting.size')} + +
@@ -252,8 +254,10 @@ export default function PlacementShapeSetting({ id, pos = { x: 50, y: 180 }, set - {getMessage('modal.placement.initial.setting.roof.material')} - +
+ {getMessage('modal.placement.initial.setting.roof.material')} + +