Merge remote-tracking branch 'origin/dev' into feature/ysCha
This commit is contained in:
commit
7c9fd0f698
@ -213,7 +213,7 @@ export function useEvent() {
|
|||||||
const modulePoints = []
|
const modulePoints = []
|
||||||
const modules = canvas.getObjects().filter((obj) => obj.name === POLYGON_TYPE.MODULE)
|
const modules = canvas.getObjects().filter((obj) => obj.name === POLYGON_TYPE.MODULE)
|
||||||
modules.forEach((module) => {
|
modules.forEach((module) => {
|
||||||
module.points.forEach((point) => {
|
module.getCurrentPoints().forEach((point) => {
|
||||||
modulePoints.push({ x: point.x, y: point.y })
|
modulePoints.push({ x: point.x, y: point.y })
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user