diff options
author | wout <wout@impinc.co.uk> | 2014-02-05 14:33:55 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2014-02-05 14:33:55 +0100 |
commit | ee583b1507b70e977ad341f7e7383f52d6b6198d (patch) | |
tree | eefce894f1018b28e8907426500413d9447d9a49 /src/patharray.js | |
parent | 6841c3283e25feec7b3da61424c787eb384b7e0f (diff) | |
download | svg.js-ee583b1507b70e977ad341f7e7383f52d6b6198d.tar.gz svg.js-ee583b1507b70e977ad341f7e7383f52d6b6198d.zip |
Minor enhancement in patharray arcs
Diffstat (limited to 'src/patharray.js')
-rw-r--r-- | src/patharray.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/patharray.js b/src/patharray.js index ab49625..314f53e 100644 --- a/src/patharray.js +++ b/src/patharray.js @@ -38,8 +38,8 @@ SVG.extend(SVG.PathArray, { this.value[i].r1 , this.value[i].r2 , this.value[i].a - , this.value[i].l === true ? 1 : 0 - , this.value[i].s === true ? 1 : 0 + , this.value[i].l + , this.value[i].s , this.value[i].x , this.value[i].y ) @@ -267,8 +267,8 @@ SVG.extend(SVG.PathArray, { r1: seg.r1 , r2: seg.r2 , a: seg.angle - , l: seg.largeArcFlag|0 /* convert bool to int - see #145 */ - , s: seg.sweepFlag|0 /* convert bool to int - see #145 */ + , l: seg.largeArcFlag|0 + , s: seg.sweepFlag|0 } break } |