From ef026b37848e7a0379649fcec8a5bca66ec657fe Mon Sep 17 00:00:00 2001 From: wout Date: Tue, 4 Feb 2014 10:36:28 +0100 Subject: fix for arcs in patharray toString() method --- src/patharray.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/patharray.js b/src/patharray.js index 42bff3b..8f076fd 100644 --- a/src/patharray.js +++ b/src/patharray.js @@ -37,9 +37,9 @@ SVG.extend(SVG.PathArray, { s.push( this.value[i].rx , this.value[i].ry - , this.value[i].angle - , this.value[i].largeArcFlag - , this.value[i].sweepFlag + , this.value[i].a + , this.value[i].l + , this.value[i].s , this.value[i].x , this.value[i].y ) @@ -286,8 +286,6 @@ SVG.extend(SVG.PathArray, { } // Get bounding box of path , bbox: function() { - if (this._cachedBBox) return this._cachedBBox - SVG.parser.path.setAttribute('d', this.toString()) return SVG.parser.path.getBBox() -- cgit v1.2.3