오브젝트 배치 오류 수정

This commit is contained in:
hyojun.choi 2025-07-22 13:53:06 +09:00
parent b979e6cfa4
commit d52fdb23a1

View File

@ -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
}
})