오브젝트 배치 오류 수정
This commit is contained in:
parent
b979e6cfa4
commit
d52fdb23a1
@ -102,7 +102,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
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user