group 내부 lengthText도 추가

This commit is contained in:
hyojun.choi 2025-03-05 15:33:28 +09:00
parent f061f88c23
commit 316dc2c4ff

View File

@ -221,6 +221,14 @@ export function useCanvasSetting(executeEffect = true) {
}
const { column } = corridorDimension
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) {
case 'corridorDimension':