Fix: count uniChar and split sentence, remove BigFontSize

This commit is contained in:
jisangs committed 2019-09-15 19:25:43 +09:00
1 parent 0e8390bfa6
commit 41872447f3
10 files changed
+147 -18

No files matched your search

@@ -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";