From c0ae2d5e0046dc8a2e36fd0d1b458ec98721bf2d Mon Sep 17 00:00:00 2001 From: Joost De Cock Date: Sat, 21 May 2022 19:10:21 +0200 Subject: [PATCH] fix(core): Incorrect detection of cached path boundary --- packages/core/src/path.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/path.js b/packages/core/src/path.js index d37b2a3d0e5..f940c8a2e22 100644 --- a/packages/core/src/path.js +++ b/packages/core/src/path.js @@ -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)