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)