From d52fdb23a1378ead660746778e80a7a8b20cbce9 Mon Sep 17 00:00:00 2001 From: "hyojun.choi" Date: Tue, 22 Jul 2025 13:53:06 +0900 Subject: [PATCH] =?UTF-8?q?=EC=98=A4=EB=B8=8C=EC=A0=9D=ED=8A=B8=20?= =?UTF-8?q?=EB=B0=B0=EC=B9=98=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/object/useObjectBatch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/object/useObjectBatch.js b/src/hooks/object/useObjectBatch.js index accb6866..0e0c24c2 100644 --- a/src/hooks/object/useObjectBatch.js +++ b/src/hooks/object/useObjectBatch.js @@ -102,7 +102,7 @@ export function useObjectBatch({ isHidden, setIsHidden }) { const pointer = getIntersectMousePoint(e) surfaceShapePolygons.forEach((surface) => { - if (surface.inPolygon({ x: pointer.x, y: pointer.y })) { + if (surface.inPolygonImproved({ x: pointer.x, y: pointer.y })) { selectedSurface = surface } })