summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2016-05-05 15:38:21 +0200
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2016-05-05 15:38:21 +0200
commit9e14ae8476f0d363cc064ddbb3fa1a954aa309b8 (patch)
treeedd029a7886d3ee9dbecbd88839d6e0f2d3efd63 /src
parent30df220d96e813e0dab08a08ebb00ba9cfa25352 (diff)
downloadsvg.js-9e14ae8476f0d363cc064ddbb3fa1a954aa309b8.tar.gz
svg.js-9e14ae8476f0d363cc064ddbb3fa1a954aa309b8.zip
fixed bug in `parse()` from `SVG.PathArray` which does not correctly handled `S` and `T` (#485)
Diffstat (limited to 'src')
-rw-r--r--src/patharray.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/patharray.js b/src/patharray.js
index 03a9b7f..90d0558 100644
--- a/src/patharray.js
+++ b/src/patharray.js
@@ -166,7 +166,7 @@ SVG.extend(SVG.PathArray, {
// upper case
if(s == seg[0]){
- if(s == 'M' || s == 'L' || s == 'C' || s == 'Q'){
+ if(s == 'M' || s == 'L' || s == 'C' || s == 'Q' || s == 'S' || s == 'T'){
x = seg[paramCnt[seg[0]]-1]
y = seg[paramCnt[seg[0]]]
}else if(s == 'V'){