mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Remove active smask when restoring the initial canvas state
Fixes #18444.
This commit is contained in:
parent
86eb5ba700
commit
37db3a7143
3 changed files with 12 additions and 0 deletions
|
@ -1006,6 +1006,7 @@ class CanvasGraphics {
|
|||
this.restore();
|
||||
}
|
||||
|
||||
this.current.activeSMask = null;
|
||||
this.ctx.restore();
|
||||
|
||||
if (this.transparentCanvas) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue