From 7bf2db7479b4221ea749066b8755ca9aeb86b2ca Mon Sep 17 00:00:00 2001 From: ysCha Date: Tue, 16 Dec 2025 17:58:46 +0900 Subject: [PATCH] =?UTF-8?q?=EB=8F=99=EC=9D=B4=EB=8F=99=ED=98=84=EC=9D=B4?= =?UTF-8?q?=EB=8F=99=20:=20=EA=B3=84=EC=82=B0=EA=B8=B0=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modal/movement/type/FlowLine.jsx | 21 +++++++++++++++--- .../floor-plan/modal/movement/type/Updown.jsx | 22 ++++++++++++++++--- 2 files changed, 37 insertions(+), 6 deletions(-) diff --git a/src/components/floor-plan/modal/movement/type/FlowLine.jsx b/src/components/floor-plan/modal/movement/type/FlowLine.jsx index 7c400fd4..d4267a27 100644 --- a/src/components/floor-plan/modal/movement/type/FlowLine.jsx +++ b/src/components/floor-plan/modal/movement/type/FlowLine.jsx @@ -2,6 +2,7 @@ import { useMessage } from '@/hooks/useMessage' import { useState } from 'react' import { currentObjectState } from '@/store/canvasAtom' import { useRecoilValue } from 'recoil' +import { CalculatorInput } from '@/components/common/input/CalcInput' const FLOW_LINE_TYPE = { DOWN_LEFT: 'downLeft', @@ -69,13 +70,27 @@ export default function FlowLine({ FLOW_LINE_REF }) {
{getMessage('modal.movement.flow.line.movement')}
- */} + {setFilledInput(value)}} + options={{ + allowNegative: false, + allowDecimal: false + }} />
mm diff --git a/src/components/floor-plan/modal/movement/type/Updown.jsx b/src/components/floor-plan/modal/movement/type/Updown.jsx index f03685e7..ab88bbbf 100644 --- a/src/components/floor-plan/modal/movement/type/Updown.jsx +++ b/src/components/floor-plan/modal/movement/type/Updown.jsx @@ -3,6 +3,7 @@ import { useState } from 'react' import { useRecoilValue } from 'recoil' import { currentObjectState } from '@/store/canvasAtom' import { normalizeDigits } from '@/util/input-utils' +import { CalculatorInput } from '@/components/common/input/CalcInput' const UP_DOWN_TYPE = { UP: 'up', @@ -35,6 +36,7 @@ export default function Updown({ UP_DOWN_REF }) { {getMessage('modal.movement.flow.line.position')}
+
@@ -68,13 +70,27 @@ export default function Updown({ UP_DOWN_REF }) {
{getMessage('modal.movement.flow.line.movement')}
- */} + {setFilledInput(value)}} + options={{ + allowNegative: false, + allowDecimal: false + }} />
mm