1
0
Fork 0
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:
Calixte Denizet 2024-07-17 14:08:54 +02:00
parent 86eb5ba700
commit 37db3a7143
3 changed files with 12 additions and 0 deletions

View file

@ -1006,6 +1006,7 @@ class CanvasGraphics {
this.restore();
}
this.current.activeSMask = null;
this.ctx.restore();
if (this.transparentCanvas) {