mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 16:12:40 +08:00
Merge pull request #1175 from VisualSJ/v1.2_alpha
Mark needs to be restored
This commit is contained in:
@@ -369,6 +369,7 @@ cc.rendererCanvas = {
|
||||
|
||||
proto.restore = function () {
|
||||
this._context.restore();
|
||||
this._currentAlpha = this._context.globalAlpha;
|
||||
this._saveCount--;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user