이거군

This commit is contained in:
hyojun.choi 2024-07-05 17:06:55 +09:00
parent f6b586cb77
commit 45b4b37e96

View File

@ -45,11 +45,11 @@ export default class QPolygon extends fabric.Group {
} }
setFontSize(fontSize) { setFontSize(fontSize) {
this.fontSize = fontSize
this.texts.forEach((text) => { this.texts.forEach((text) => {
text.set({ fontSize }) text.set({ fontSize })
this.canvas.requestRenderAll()
}) })
this.fontSize = fontSize this.addWithUpdate()
} }
#addLengthText() { #addLengthText() {