Merge pull request #14228 from brendandahl/consume-path

Reset path bounding box tracking when starting a new path.
This commit is contained in:
Jonas Jenwald 2021-11-03 21:56:46 +01:00 committed by GitHub
commit c2f335186a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3071,6 +3071,7 @@ class CanvasGraphics {
}
this.pendingClip = null;
}
this.current.startNewPathAndClipBox(this.current.clipBox);
ctx.beginPath();
}