mirror of https://github.com/axmolengine/axmol.git
don't set wrong string for atlas label
This commit is contained in:
parent
c1a79700ae
commit
b4ee6e8971
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue