summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/fx.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fx.js b/src/fx.js
index b779b40..c6bef96 100755
--- a/src/fx.js
+++ b/src/fx.js
@@ -36,10 +36,10 @@ SVG.extend(SVG.FX, {
akeys.push(key)
/* make sure morphable elements are scaled, translated and morphed all together */
- if (element.morphArray && akeys.indexOf('points') > -1) {
+ if (element.morphArray && (fx._plot || akeys.indexOf('points') > -1)) {
/* get destination */
var box
- , p = new element.morphArray(fx._plot || element.array)
+ , p = new element.morphArray(fx._plot || fx.attrs.points || element.array)
/* add size */
if (fx._size) p.size(fx._size.width.to, fx._size.height.to)