module 이동 후에도 흡착점 작동하도록 수정
This commit is contained in:
parent
3811f224d6
commit
b651aab959
@ -213,7 +213,7 @@ export function useEvent() {
|
||||
const modulePoints = []
|
||||
const modules = canvas.getObjects().filter((obj) => obj.name === POLYGON_TYPE.MODULE)
|
||||
modules.forEach((module) => {
|
||||
module.points.forEach((point) => {
|
||||
module.getCurrentPoints().forEach((point) => {
|
||||
modulePoints.push({ x: point.x, y: point.y })
|
||||
})
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user