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:
parent
e93512f1eb
commit
d4843ebf6d
3 changed files with 10 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue