내부 확인 로직 수정

This commit is contained in:
hyojun.choi 2025-07-22 14:03:48 +09:00
parent d52fdb23a1
commit ca0620bd23

View File

@ -212,7 +212,7 @@ export function useObjectBatch({ isHidden, setIsHidden }) {
const pointer = getIntersectMousePoint(e) const pointer = getIntersectMousePoint(e)
surfaceShapePolygons.forEach((surface) => { surfaceShapePolygons.forEach((surface) => {
if (surface.inPolygon({ x: pointer.x, y: pointer.y })) { if (surface.inPolygonImproved({ x: pointer.x, y: pointer.y })) {
selectedSurface = surface selectedSurface = surface
rect = new fabric.Rect({ rect = new fabric.Rect({