Fix: count uniChar and split sentence, remove BigFontSize
This commit is contained in:
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";
|
||||
|
||||
Reference in new issue
Block a user