矢量文字缩放调整
This commit is contained in:
parent
495daf7fad
commit
8af2d71795
@ -29,8 +29,9 @@ export class VectorText extends Text implements VectorGraphic {
|
||||
* 设置矢量文字的字体大小
|
||||
*/
|
||||
setVectorFontSize(fontSize: number) {
|
||||
if (this.vectorFontSize !== fontSize) {
|
||||
this.vectorFontSize = fontSize;
|
||||
// this.style.fontSize = fontSize;
|
||||
this.updateOnScaled();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user