Can't disabled MenuItemsImage

Can't disabled MenuItemsImage
0.0 0



I create a Menu and add cc.MenuItemImage to it, but I can’t disabled those. I don’t know where is the problem. I call the method setEnabled(false) but never disabled the buttons. I see the code and found this

 * @param {Boolean} bEnabled
    setEnabled:function (bEnabled) {
        if (this._isEnabled == bEnabled) {

This if (this._isEnabled == bEnabled) always is false when try disabled the button. This is a bug ? If I set (this._isEnabled all work fine.

Thanks )


Thank you, I will fix the bug soon.