mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
@ -121,8 +121,12 @@ export class CanvasRenderer {
|
||||
}
|
||||
|
||||
popEffect() {
|
||||
const globalAlpha = this.ctx.globalAlpha;
|
||||
this._activeEffects.pop();
|
||||
this.ctx.restore();
|
||||
if (globalAlpha) {
|
||||
this.ctx.globalAlpha = globalAlpha;
|
||||
}
|
||||
}
|
||||
|
||||
async renderStack(stack: StackingContext) {
|
||||
|
Reference in New Issue
Block a user