group 내부 lengthText도 추가
This commit is contained in:
parent
f061f88c23
commit
316dc2c4ff
@ -221,6 +221,14 @@ export function useCanvasSetting(executeEffect = true) {
|
|||||||
}
|
}
|
||||||
const { column } = corridorDimension
|
const { column } = corridorDimension
|
||||||
const lengthTexts = canvas.getObjects().filter((obj) => obj.name === 'lengthText')
|
const lengthTexts = canvas.getObjects().filter((obj) => obj.name === 'lengthText')
|
||||||
|
const group = canvas.getObjects().filter((obj) => obj.type === 'group')
|
||||||
|
group.forEach((obj) => {
|
||||||
|
obj._objects
|
||||||
|
.filter((obj2) => obj2.name === 'lengthText')
|
||||||
|
.forEach((obj3) => {
|
||||||
|
lengthTexts.push(obj3)
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
switch (column) {
|
switch (column) {
|
||||||
case 'corridorDimension':
|
case 'corridorDimension':
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user