From ee33558f2fb7b8a4440cd9e4565fe971255a04b6 Mon Sep 17 00:00:00 2001 From: "hyojun.choi" Date: Fri, 28 Nov 2025 15:16:16 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B0=9C=EA=B5=AC,=20=EC=98=A4=EB=B8=8C?= =?UTF-8?q?=EC=A0=9D=ED=8A=B8=20=EC=84=A4=EC=B9=98=20=ED=9B=84=20=EA=B8=B8?= =?UTF-8?q?=EC=9D=B4=20=EC=95=88=EB=82=98=EC=98=A4=EB=8A=94=20=ED=98=84?= =?UTF-8?q?=EC=83=81=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/floor-plan/modal/object/SizeSetting.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/floor-plan/modal/object/SizeSetting.jsx b/src/components/floor-plan/modal/object/SizeSetting.jsx index 39f6897c..cfb24c57 100644 --- a/src/components/floor-plan/modal/object/SizeSetting.jsx +++ b/src/components/floor-plan/modal/object/SizeSetting.jsx @@ -21,8 +21,8 @@ export default function SizeSetting(props) { const { resizeSurfaceShapeBatch } = useSurfaceShapeBatch({}) const widthRef = useRef(null) const heightRef = useRef(null) - const [width, setWidth] = useState(target?.originWidth ? (target.originWidth * 10) : 0) - const [height, setHeight] = useState(target?.originHeight ? (target.originHeight * 10) : 0) + const [width, setWidth] = useState(target?.originWidth ? target.originWidth * 10 : (target.width * 10).toFixed(0)) + const [height, setHeight] = useState(target?.originHeight ? target.originHeight * 10 : (target.height * 10).toFixed(0)) // const { initEvent } = useEvent() // const { initEvent } = useContext(EventContext)