From 4b120326db5aa317f6d3853ae959dc20dba9e6e9 Mon Sep 17 00:00:00 2001 From: "hyojun.choi" Date: Wed, 14 May 2025 10:30:08 +0900 Subject: [PATCH] =?UTF-8?q?length=EA=B0=80=201=20=EB=AF=B8=EB=A7=8C?= =?UTF-8?q?=EC=9D=B8=20=EA=B2=BD=EC=9A=B0=20actualSize=20=EC=9E=91?= =?UTF-8?q?=EC=84=B1=ED=95=A0=20=ED=95=84=EC=9A=94=20=EC=97=86=EC=9D=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/roofcover/useRoofAllocationSetting.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/roofcover/useRoofAllocationSetting.js b/src/hooks/roofcover/useRoofAllocationSetting.js index f8ad7d30..79510bc1 100644 --- a/src/hooks/roofcover/useRoofAllocationSetting.js +++ b/src/hooks/roofcover/useRoofAllocationSetting.js @@ -356,7 +356,7 @@ export function useRoofAllocationSetting(id) { roofBases.forEach((roof) => { if (roof.separatePolygon.length === 0) { roof.innerLines.forEach((line) => { - if (!line.attributes.actualSize || line.attributes?.actualSize === 0) { + if ((!line.attributes.actualSize || line.attributes?.actualSize === 0) && line.length > 1) { line.set({ strokeWidth: 4, stroke: 'black', selectable: true }) result = true }