fix(core): Incorrect detection of cached path boundary
This commit is contained in:
parent
0e3ee1de77
commit
c0ae2d5e00
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ Path.prototype.end = function () {
|
||||||
|
|
||||||
/** Finds the bounding box of a path */
|
/** Finds the bounding box of a path */
|
||||||
Path.prototype.boundary = function () {
|
Path.prototype.boundary = function () {
|
||||||
if (this.topLeft) return this // Cached
|
if (this.topOp) return this // Cached
|
||||||
|
|
||||||
let current
|
let current
|
||||||
let topLeft = new Point(Infinity, Infinity)
|
let topLeft = new Point(Infinity, Infinity)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue