mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Replace accidental beans access with direct access of internal property.
This commit is contained in:
parent
72a3dfa572
commit
0a385d56a7
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue