length가 1 미만인 경우 actualSize 작성할 필요 없음
This commit is contained in:
parent
a3b25c3403
commit
4b120326db
@ -356,7 +356,7 @@ export function useRoofAllocationSetting(id) {
|
||||
roofBases.forEach((roof) => {
|
||||
if (roof.separatePolygon.length === 0) {
|
||||
roof.innerLines.forEach((line) => {
|
||||
if (!line.attributes.actualSize || line.attributes?.actualSize === 0) {
|
||||
if ((!line.attributes.actualSize || line.attributes?.actualSize === 0) && line.length > 1) {
|
||||
line.set({ strokeWidth: 4, stroke: 'black', selectable: true })
|
||||
result = true
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user