diff --git a/src/components/fabric/QPolygon.js b/src/components/fabric/QPolygon.js index c3cc53bc..e095de42 100644 --- a/src/components/fabric/QPolygon.js +++ b/src/components/fabric/QPolygon.js @@ -154,6 +154,7 @@ export const QPolygon = fabric.util.createClass(fabric.Polygon, { const { left, top } = this.calcOriginCoords() this.set('pathOffset', { x: left, y: top }) this.setCoords() + this.initLines() }) // polygon.fillCell({ width: 50, height: 30, padding: 10 })