diff --git a/src/components/fabric/QPolygon.js b/src/components/fabric/QPolygon.js index 0a470587..ed879b8b 100644 --- a/src/components/fabric/QPolygon.js +++ b/src/components/fabric/QPolygon.js @@ -45,11 +45,11 @@ export default class QPolygon extends fabric.Group { } setFontSize(fontSize) { + this.fontSize = fontSize this.texts.forEach((text) => { text.set({ fontSize }) - this.canvas.requestRenderAll() }) - this.fontSize = fontSize + this.addWithUpdate() } #addLengthText() {