From 0a385d56a7c6b7cf8a7d1ff1bfe88eeb6d6f713c Mon Sep 17 00:00:00 2001 From: Jonathan Puckey Date: Wed, 18 May 2011 20:22:57 +0200 Subject: [PATCH] Replace accidental beans access with direct access of internal property. --- src/path/Path.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/path/Path.js b/src/path/Path.js index e5af60be..2396e550 100644 --- a/src/path/Path.js +++ b/src/path/Path.js @@ -1101,7 +1101,7 @@ var Path = this.Path = PathItem.extend({ * The bounding rectangle of the item including stroke width. */ getStrokeBounds: function(/* matrix */) { - if (!this.style._strokeColor || !this.style._strokeWidth) + if (!this._style._strokeColor || !this._style._strokeWidth) return this.getBounds(); var useCache = arguments.length == 0; if (this._strokeBounds && useCache)