Commit 11ee64b9 authored by Li Mingzhe's avatar Li Mingzhe

feat: 字体小

parent e1542aba
...@@ -454,8 +454,8 @@ export class Bubble extends Item { ...@@ -454,8 +454,8 @@ export class Bubble extends Item {
text.fontName = "BRLNSDB"; text.fontName = "BRLNSDB";
text.fontColor = "#000000"; text.fontColor = "#000000";
text.alpha = 1; text.alpha = 1;
text.scaleX = this.scaleX; // text.scaleX = this.scaleX;
text.scaleY = this.scaleY; // text.scaleY = this.scaleY;
text.setMaxSize(this.width - 30 * this.scaleX); text.setMaxSize(this.width - 30 * this.scaleX);
text.x = (this.width - text.getBoundingBox().width) / 2; text.x = (this.width - text.getBoundingBox().width) / 2;
text.y = this.height / 2; text.y = this.height / 2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment