Fix: count uniChar and split sentence, remove BigFontSize

This commit is contained in:
2019-09-13 22:05:32 +09:00
parent 0e8390bfa6
commit 41872447f3
10 changed files with 147 additions and 18 deletions
@@ -45,6 +45,8 @@ function TypingExamButton(x, y) {
this.mainText.anchor.set(0, 0.5);
this.mainText.x = 100;
console.log(this.mainText.width);
// this.mainText.width = 100;
// this.setMainText("");
// this.addIcon("tile_choco");
// this.setIconSize(40);
@@ -116,7 +118,7 @@ TypingExamButton.prototype.setTypingRecordText = function(record) {
}
TypingExamButton.prototype.makeWritingNameText = function() {
var textWidth = 250;
var textWidth = 232;
var style = { };
style.boundsAlignH = "left";