1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Fixes canvas state after smask group ends.

This commit is contained in:
Yury Delendik 2015-12-03 14:34:12 -06:00
parent e93512f1eb
commit d4843ebf6d
3 changed files with 10 additions and 0 deletions

View file

@ -973,6 +973,7 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
composeSMask(this.ctx, this.current.activeSMask, groupCtx);
this.ctx.restore();
copyCtxState(groupCtx, this.ctx);
},
save: function CanvasGraphics_save() {
this.ctx.save();