mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 15:52:40 +08:00
Merge pull request #1740 from knoxHuang/master
fix the color setting in the canvas failed
This commit is contained in:
@@ -47,6 +47,11 @@ proto._updateDisplayColor = function(parentColor){
|
||||
this._originalTexture = this._textureToRender = null;
|
||||
};
|
||||
|
||||
proto._syncDisplayColor = function(parentColor){
|
||||
_ccsg.Node.WebGLRenderCmd.prototype._syncDisplayColor.call(this, parentColor);
|
||||
this._originalTexture = this._textureToRender = null;
|
||||
};
|
||||
|
||||
proto.setState = function(state){
|
||||
if(this._state === state) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user