diff --git a/graphic-pixi b/graphic-pixi index defae8c..495daf7 160000 --- a/graphic-pixi +++ b/graphic-pixi @@ -1 +1 @@ -Subproject commit defae8c01e0ec5b0cf679655bd4d761a9932593a +Subproject commit 495daf7fad12f889a782663e18453a19c5585518 diff --git a/src/jl-graphic/graphic/VectorText.ts b/src/jl-graphic/graphic/VectorText.ts index f28e031..e8e912b 100644 --- a/src/jl-graphic/graphic/VectorText.ts +++ b/src/jl-graphic/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(); } }