Commit b9442cb9 authored by Chen Jiping's avatar Chen Jiping

fix:修复字体问题

parent 8cdba501
...@@ -288,6 +288,8 @@ export class Exercises { ...@@ -288,6 +288,8 @@ export class Exercises {
index.fontSize = 48; index.fontSize = 48;
index.fontName = "BRLNSDB"; index.fontName = "BRLNSDB";
index.fontColor = "#FFFFFF"; index.fontColor = "#FFFFFF";
index.scaleX = this.scaleX;
index.scaleY = this.scaleY;
index.setMaxSize(indexBg.width); index.setMaxSize(indexBg.width);
index.x = - index.width / 2; index.x = - index.width / 2;
indexBg.addChild(index); indexBg.addChild(index);
......
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