From 7e3820e6b1053591bcf3f3871b18a80812cecaa0 Mon Sep 17 00:00:00 2001 From: "hyojun.choi" Date: Tue, 29 Jul 2025 17:09:33 +0900 Subject: [PATCH 1/2] =?UTF-8?q?hipandgable=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/usePolygon.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hooks/usePolygon.js b/src/hooks/usePolygon.js index e5c56854..328687fe 100644 --- a/src/hooks/usePolygon.js +++ b/src/hooks/usePolygon.js @@ -1164,6 +1164,8 @@ export const usePolygon = () => { if (startFlag && endFlag) { if (!representLines.includes(line) && line.attributes.type === LINE_TYPE.WALLLINE.EAVES) { representLines.push(line) + } else if (!representLines.includes(line) && line.attributes.type === LINE_TYPE.WALLLINE.HIPANDGABLE) { + representLines.push(line) } } }) From 445270bb8034fbeb477a8f9bb93107b41f832a73 Mon Sep 17 00:00:00 2001 From: "hyojun.choi" Date: Wed, 30 Jul 2025 09:52:39 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=EC=99=B8=EB=B2=BD=EC=84=A0=20=EB=B0=98?= =?UTF-8?q?=EC=98=AC=EB=A6=BC=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/roofcover/useOuterLineWall.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/hooks/roofcover/useOuterLineWall.js b/src/hooks/roofcover/useOuterLineWall.js index 24f9d3d1..e5f14cc1 100644 --- a/src/hooks/roofcover/useOuterLineWall.js +++ b/src/hooks/roofcover/useOuterLineWall.js @@ -30,7 +30,6 @@ import { calculateAngle } from '@/util/qpolygon-utils' import { fabric } from 'fabric' import { outlineDisplaySelector } from '@/store/settingAtom' import { usePopup } from '@/hooks/usePopup' -import PropertiesSetting from '@/components/floor-plan/modal/outerlinesetting/PropertiesSetting' import Big from 'big.js' import RoofShapeSetting from '@/components/floor-plan/modal/roofShape/RoofShapeSetting' import { useObject } from '@/hooks/useObject' @@ -147,7 +146,7 @@ export function useOuterLineWall(id, propertiesId) { const mouseDown = (e) => { let pointer = getIntersectMousePoint(e) - pointer = { x: Big(pointer.x).round(1).toNumber(), y: Big(pointer.y).round(1).toNumber() } + pointer = { x: Big(pointer.x).toNumber(), y: Big(pointer.y).toNumber() } if (points.length === 0) { setPoints((prev) => [...prev, pointer])