From ae7052db3c89d33af7ca9b1a8132e99103b73614 Mon Sep 17 00:00:00 2001 From: Ulrich-Matthias Schäfer Date: Fri, 19 Jun 2015 11:50:30 +0200 Subject: Fixed bug in fx when animating with `plot()` (closes #354) --- src/fx.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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) } } } -- cgit v1.2.3