diff options
author | dotnetCarpenter <jon.ronnenberg@gmail.com> | 2014-02-05 14:15:53 +0100 |
---|---|---|
committer | dotnetCarpenter <jon.ronnenberg@gmail.com> | 2014-02-05 14:15:53 +0100 |
commit | 921ee38fc831e59fe03c81be815a408dbbb942f8 (patch) | |
tree | fca030db1192e728dbee0712868186df0723f2ad /src/patharray.js | |
parent | 5d0b09055f230fd9f86fee04fcdd479fe3a00951 (diff) | |
download | svg.js-921ee38fc831e59fe03c81be815a408dbbb942f8.tar.gz svg.js-921ee38fc831e59fe03c81be815a408dbbb942f8.zip |
convert bool to int, so d only contains number values - fixes #145
Diffstat (limited to 'src/patharray.js')
-rw-r--r-- | src/patharray.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/patharray.js b/src/patharray.js index 26b3262..ab49625 100644 --- a/src/patharray.js +++ b/src/patharray.js @@ -267,8 +267,8 @@ SVG.extend(SVG.PathArray, { r1: seg.r1 , r2: seg.r2 , a: seg.angle - , l: seg.largeArcFlag - , s: seg.sweepFlag + , l: seg.largeArcFlag|0 /* convert bool to int - see #145 */ + , s: seg.sweepFlag|0 /* convert bool to int - see #145 */ } break } |