don't set wrong string for atlas label

This commit is contained in:
minggo 2016-03-30 14:32:11 +08:00
parent c1a79700ae
commit b4ee6e8971
1 changed files with 0 additions and 1 deletions

View File

@ -59,7 +59,6 @@ var MenuLayerMainMenu = cc.Layer.extend({
var item3 = new cc.MenuItemLabel(labelAtlas, this.onMenuCallbackDisabled, this ); var item3 = new cc.MenuItemLabel(labelAtlas, this.onMenuCallbackDisabled, this );
item3.setDisabledColor( cc.color(32,32,64) ); item3.setDisabledColor( cc.color(32,32,64) );
item3.color = cc.color(200,200,255); item3.color = cc.color(200,200,255);
item3.setString('hello');
cc.log("test MenuItemLabel getString()" + item3.getString()); cc.log("test MenuItemLabel getString()" + item3.getString());
// Font Item // Font Item