diff --git a/src/components/fabric/QPolygon.js b/src/components/fabric/QPolygon.js index 3f82dec1..33099639 100644 --- a/src/components/fabric/QPolygon.js +++ b/src/components/fabric/QPolygon.js @@ -248,7 +248,7 @@ export const QPolygon = fabric.util.createClass(fabric.Polygon, { }, 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 } this.canvas