diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2015-06-19 11:50:30 +0200 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2015-06-19 11:50:30 +0200 |
commit | ae7052db3c89d33af7ca9b1a8132e99103b73614 (patch) | |
tree | c7dce182d24fc33be5aa43cf045a2ca8f85c6a6f /src | |
parent | 0d6459729c2508d2631894b004d74961fe99d334 (diff) | |
download | svg.js-ae7052db3c89d33af7ca9b1a8132e99103b73614.tar.gz svg.js-ae7052db3c89d33af7ca9b1a8132e99103b73614.zip |
Fixed bug in fx when animating with `plot()` (closes #354)
Diffstat (limited to 'src')
-rwxr-xr-x | src/fx.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -41,7 +41,7 @@ SVG.FX = SVG.invent({ if (element.morphArray && (fx.destination.plot || akeys.indexOf('points') > -1)) { // get destination var box - , p = new element.morphArray(fx.destination.plot || fx.attrs.points || element.array) + , p = new element.morphArray(fx.destination.plot || fx.attrs.points || element.array()) // add size if (fx.destination.size) @@ -62,7 +62,7 @@ SVG.FX = SVG.invent({ // reset destination values fx.destination = { - plot: element.array.morph(p) + plot: element.array().morph(p) } } } |