From 359c7c458f1637abd9197be49f2c9dd3dda17c2d Mon Sep 17 00:00:00 2001 From: "hyojun.choi" Date: Mon, 4 Aug 2025 16:38:24 +0900 Subject: [PATCH] =?UTF-8?q?=EC=A7=80=EB=B6=95=EB=A9=B4=20=ED=95=A0?= =?UTF-8?q?=EB=8B=B9=20=EB=A1=9C=EC=A7=81=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/usePolygon.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hooks/usePolygon.js b/src/hooks/usePolygon.js index f6dbf3ce..a36b0982 100644 --- a/src/hooks/usePolygon.js +++ b/src/hooks/usePolygon.js @@ -846,8 +846,8 @@ export const usePolygon = () => { if (checkLineOverlap(innerLine, polygonLine)) { // innerLine의 type을 polygonLine의 type으로 변경 if (polygonLine.attributes?.type && innerLine.attributes) { - polygonLine.need = false - innerLine.attributes = polygonLine.attributes + // polygonLine.need = false + innerLine.attributes = { ...polygonLine.attributes } innerLine.direction = polygonLine.direction innerLine.attributes.isStart = true }