mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-04 02:02:41 +08:00
fix update color bug in _syncStatus
This commit is contained in:
@@ -487,7 +487,7 @@ _ccsg.Node.RenderCmd.prototype = {
|
||||
//update the opacity
|
||||
this._syncDisplayOpacity();
|
||||
|
||||
if(colorDirty)
|
||||
if(colorDirty || opacityDirty)
|
||||
this._updateColor();
|
||||
|
||||
if (transformDirty)
|
||||
|
||||
Reference in New Issue
Block a user