불필요 라인 제거
This commit is contained in:
parent
d8389c1d9f
commit
c10a46e86f
@ -285,7 +285,7 @@ export const QPolygon = fabric.util.createClass(fabric.Polygon, {
|
|||||||
isGable = true
|
isGable = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const hasShed = types.includes(LINE_TYPE.WALLLINE.SHED)
|
|
||||||
let isShed = false
|
let isShed = false
|
||||||
if (types.includes(LINE_TYPE.WALLLINE.SHED)) {
|
if (types.includes(LINE_TYPE.WALLLINE.SHED)) {
|
||||||
const sheds = this.lines.filter((line) => line.attributes !== undefined && line.attributes.type === LINE_TYPE.WALLLINE.SHED)
|
const sheds = this.lines.filter((line) => line.attributes !== undefined && line.attributes.type === LINE_TYPE.WALLLINE.SHED)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user