From 0f481e2933b49bfd35ce69baae7c0e5eea896a41 Mon Sep 17 00:00:00 2001 From: "hyojun.choi" Date: Tue, 13 Jan 2026 13:32:45 +0900 Subject: [PATCH] =?UTF-8?q?=EC=84=A0=EC=9D=B4=20=EA=B0=80=EC=A7=80?= =?UTF-8?q?=EA=B3=A0=EC=9E=88=EB=8A=94=20planeSize=EB=A1=9C=20=EA=B3=84?= =?UTF-8?q?=EC=82=B0=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/useLine.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hooks/useLine.js b/src/hooks/useLine.js index c9de0194..f61b977b 100644 --- a/src/hooks/useLine.js +++ b/src/hooks/useLine.js @@ -172,9 +172,9 @@ export const useLine = () => { const isHorizontal = y1 === y2 const isVertical = x1 === x2 const isDiagonal = !isHorizontal && !isVertical - const lineLength = line.getLength() + const lineLength = line.attributes.planeSize ?? line.getLength() - line.attributes = { ...line.attributes, planeSize: line.getLength(), actualSize: line.getLength() } + // line.attributes = { ...line.attributes, planeSize: line.getLength(), actualSize: line.getLength() } if (+roofSizeSet === 1) { if (direction === 'south' || direction === 'north') {