]> source.dussan.org Git - svg.js.git/commitdiff
convert bool to int, so d only contains number values - fixes #145 146/head
authordotnetCarpenter <jon.ronnenberg@gmail.com>
Wed, 5 Feb 2014 13:15:53 +0000 (14:15 +0100)
committerdotnetCarpenter <jon.ronnenberg@gmail.com>
Wed, 5 Feb 2014 13:15:53 +0000 (14:15 +0100)
src/patharray.js

index 26b32627a40e30d4a7203c8658234d5e527b100e..ab49625072863c83898f428cb173cd9b4e708bec 100644 (file)
@@ -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
       }