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() {
|
popEffect() {
|
||||||
|
const globalAlpha = this.ctx.globalAlpha;
|
||||||
this._activeEffects.pop();
|
this._activeEffects.pop();
|
||||||
this.ctx.restore();
|
this.ctx.restore();
|
||||||
|
if (globalAlpha) {
|
||||||
|
this.ctx.globalAlpha = globalAlpha;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async renderStack(stack: StackingContext) {
|
async renderStack(stack: StackingContext) {
|
||||||
|
|||||||
Reference in New Issue
Block a user