mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #18445 from calixteman/issue18444
Remove active smask when restoring the initial canvas state
This commit is contained in:
commit
15b71b82ed
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) {
|
||||
|
|
1
test/pdfs/issue18444.pdf.link
Normal file
1
test/pdfs/issue18444.pdf.link
Normal file
|
@ -0,0 +1 @@
|
|||
https://github.com/user-attachments/files/16264442/9.170.1.pdf
|
|
@ -10160,5 +10160,15 @@
|
|||
"firstPage": 2,
|
||||
"lastPage": 2,
|
||||
"type": "eq"
|
||||
},
|
||||
{
|
||||
"id": "issue18444",
|
||||
"file": "pdfs/issue18444.pdf",
|
||||
"md5": "233b7b72d67133044338a728d52d58a9",
|
||||
"rounds": 1,
|
||||
"link": true,
|
||||
"firstPage": 1,
|
||||
"lastPage": 1,
|
||||
"type": "eq"
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue