addLengthText 필요 없는 polygon 추가
This commit is contained in:
parent
12d5ffeaf8
commit
b50df4a231
@ -248,7 +248,7 @@ export const QPolygon = fabric.util.createClass(fabric.Polygon, {
|
|||||||
},
|
},
|
||||||
|
|
||||||
addLengthText() {
|
addLengthText() {
|
||||||
if (['module', 'arrow'].includes(this.name)) {
|
if ([POLYGON_TYPE.MODULE, 'arrow', POLYGON_TYPE.MODULE_SETUP_SURFACE, POLYGON_TYPE.OBJECT_SURFACE].includes(this.name)) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.canvas
|
this.canvas
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user