Merge pull request 'dev' (#229) from dev into prd-deploy
Reviewed-on: #229
This commit is contained in:
commit
fdbedb23a4
@ -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
|
||||
}
|
||||
})
|
||||
@ -212,7 +212,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
|
||||
|
||||
rect = new fabric.Rect({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user