fix update color bug in _syncStatus

This commit is contained in:
Huabing.Xu
2016-07-28 12:04:43 +08:00
parent 2a9015ce6d
commit f0573d764e
@@ -487,7 +487,7 @@ _ccsg.Node.RenderCmd.prototype = {
//update the opacity
this._syncDisplayOpacity();
if(colorDirty)
if(colorDirty || opacityDirty)
this._updateColor();
if (transformDirty)