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

Merge pull request #6720 from yurydelendik/smask-state

Fixes canvas state after smask group ends.
This commit is contained in:
Jonas Jenwald 2015-12-03 22:19:37 +01:00
commit e2aca385c6
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();