aboutsummaryrefslogtreecommitdiffstats
path: root/src/fx.js
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2015-06-19 11:50:30 +0200
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2015-06-19 11:50:30 +0200
commitae7052db3c89d33af7ca9b1a8132e99103b73614 (patch)
treec7dce182d24fc33be5aa43cf045a2ca8f85c6a6f /src/fx.js
parent0d6459729c2508d2631894b004d74961fe99d334 (diff)
downloadsvg.js-ae7052db3c89d33af7ca9b1a8132e99103b73614.tar.gz
svg.js-ae7052db3c89d33af7ca9b1a8132e99103b73614.zip
Fixed bug in fx when animating with `plot()` (closes #354)
Diffstat (limited to 'src/fx.js')
-rwxr-xr-xsrc/fx.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fx.js b/src/fx.js
index 402bdbd..7a480dd 100755
--- a/src/fx.js
+++ b/src/fx.js
@@ -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)
}
}
}