1
0
Fork 0

fix(core): Incorrect detection of cached path boundary

This commit is contained in:
Joost De Cock 2022-05-21 19:10:21 +02:00
parent 0e3ee1de77
commit c0ae2d5e00

View file

@ -218,7 +218,7 @@ Path.prototype.end = function () {
/** Finds the bounding box of a path */
Path.prototype.boundary = function () {
if (this.topLeft) return this // Cached
if (this.topOp) return this // Cached
let current
let topLeft = new Point(Infinity, Infinity)