mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
Fixing improperly named variable in cc.LabelBMFont.
This commit is contained in:
@@ -2288,7 +2288,7 @@ cc.LabelBMFont = cc.Label.extend({
|
||||
this.setString(text);
|
||||
},
|
||||
setWidth: function(maxWidth) {
|
||||
this.setMaxLineWidth(width);
|
||||
this.setMaxLineWidth(maxWidth);
|
||||
},
|
||||
setFntFile: function (fntFile, imageOffset) {
|
||||
if (imageOffset) {
|
||||
|
||||
Reference in New Issue
Block a user