mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Merge pull request #14228 from brendandahl/consume-path
Reset path bounding box tracking when starting a new path.
This commit is contained in:
commit
c2f335186a
1 changed files with 1 additions and 0 deletions
|
@ -3071,6 +3071,7 @@ class CanvasGraphics {
|
|||
}
|
||||
this.pendingClip = null;
|
||||
}
|
||||
this.current.startNewPathAndClipBox(this.current.clipBox);
|
||||
ctx.beginPath();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue