내부 확인 로직 수정
This commit is contained in:
parent
d52fdb23a1
commit
ca0620bd23
@ -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