Replace accidental beans access with direct access of internal property.

This commit is contained in:
Jonathan Puckey 2011-05-18 20:22:57 +02:00
parent 72a3dfa572
commit 0a385d56a7

View file

@ -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)