dev #228
@ -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
|
||||
}
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user