Closed mcscooter closed 11 years ago
Line 1147: * var toggler = cc.MenuItemToggle.create(this, this.callback, cc.MenuItemFont.create("On"), cc.MenuItemFont.create("Off"))
arguments are in the wrong order, should have the menuItemFont objects first:
Sorry, I didn't have time to submit a fix for this right now, maybe someone else can roll this into another change since it's just the example
Found time to issue an update for this https://github.com/cocos2d/cocos2d-html5/pull/991
Thank you, Scott Cummings.
Line 1147: * var toggler = cc.MenuItemToggle.create(this, this.callback, cc.MenuItemFont.create("On"), cc.MenuItemFont.create("Off"))
arguments are in the wrong order, should have the menuItemFont objects first:
Sorry, I didn't have time to submit a fix for this right now, maybe someone else can roll this into another change since it's just the example