Fix typo in src/path.js - ref issue #211

master
Thomas Shinnick 2014-03-16 19:17:56 -05:00
parent 8ba748d905
commit eaf424c8eb
1 changed files with 2 additions and 2 deletions

View File

@ -949,7 +949,7 @@ Snap.plugin(function (Snap, Element, Paper, glob) {
d.Y = path[2]; d.Y = path[2];
break; break;
case "A": case "A":
path = ["C"].concat(a2c[apply](0, [d.x, d.y].concat(path.slice(1)))); path = ["C"].concat(a2c.apply(0, [d.x, d.y].concat(path.slice(1))));
break; break;
case "S": case "S":
if (pcom == "C" || pcom == "S") { // In "S" case we have to take into account, if the previous command is C/S. if (pcom == "C" || pcom == "S") { // In "S" case we have to take into account, if the previous command is C/S.