Merge branch 'dev' of https://git.hanasys.jp/qcast3/qcast-front into dev
This commit is contained in:
commit
4875985685
@ -239,11 +239,16 @@ export const QPolygon = fabric.util.createClass(fabric.Polygon, {
|
|||||||
/* innerLines 초기화 */
|
/* innerLines 초기화 */
|
||||||
this.canvas
|
this.canvas
|
||||||
.getObjects()
|
.getObjects()
|
||||||
.filter((obj) => obj.parentId === this.id && obj.name !== POLYGON_TYPE.WALL && obj.name !== POLYGON_TYPE.ROOF)
|
.filter(
|
||||||
|
(obj) =>
|
||||||
|
obj.parentId === this.id &&
|
||||||
|
obj.name !== POLYGON_TYPE.WALL &&
|
||||||
|
obj.name !== POLYGON_TYPE.ROOF &&
|
||||||
|
obj.name !== 'outerLine' &&
|
||||||
|
obj.name !== 'baseLine',
|
||||||
|
// && obj.name !== 'outerLinePoint',
|
||||||
|
)
|
||||||
.forEach((obj) => this.canvas.remove(obj))
|
.forEach((obj) => this.canvas.remove(obj))
|
||||||
/*this.innerLines.forEach((line) => {
|
|
||||||
this.canvas.remove(line)
|
|
||||||
})*/
|
|
||||||
this.canvas.renderAll()
|
this.canvas.renderAll()
|
||||||
|
|
||||||
let textMode = 'plane'
|
let textMode = 'plane'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user