From 495daf7fad12f889a782663e18453a19c5585518 Mon Sep 17 00:00:00 2001 From: fan Date: Fri, 11 Aug 2023 14:40:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E7=9F=A2=E9=87=8F?= =?UTF-8?q?=E6=96=87=E5=AD=97=E5=A4=A7=E5=B0=8F=E6=97=B6=E8=AE=A1=E7=AE=97?= =?UTF-8?q?=E7=BC=A9=E6=94=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jlgraphic/graphic/VectorText.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/jlgraphic/graphic/VectorText.ts b/src/jlgraphic/graphic/VectorText.ts index f28e031..e8e912b 100644 --- a/src/jlgraphic/graphic/VectorText.ts +++ b/src/jlgraphic/graphic/VectorText.ts @@ -30,6 +30,7 @@ export class VectorText extends Text implements VectorGraphic { */ setVectorFontSize(fontSize: number) { this.vectorFontSize = fontSize; - this.style.fontSize = fontSize; + // this.style.fontSize = fontSize; + this.updateOnScaled(); } }