初始化矢量文字大小时计算缩放
This commit is contained in:
parent
defae8c01e
commit
495daf7fad
@ -30,6 +30,7 @@ export class VectorText extends Text implements VectorGraphic {
|
|||||||
*/
|
*/
|
||||||
setVectorFontSize(fontSize: number) {
|
setVectorFontSize(fontSize: number) {
|
||||||
this.vectorFontSize = fontSize;
|
this.vectorFontSize = fontSize;
|
||||||
this.style.fontSize = fontSize;
|
// this.style.fontSize = fontSize;
|
||||||
|
this.updateOnScaled();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user