summaryrefslogtreecommitdiffstats
path: root/src/fx.js
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2015-10-10 17:16:12 +0200
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2015-10-10 17:16:12 +0200
commit412b37652b6695a6df4c214d7048275f2912dad7 (patch)
tree6a2feb84b212d3623a72798988f1bee19946b2c7 /src/fx.js
parent2fbeec1225b5431e8c7779eee1396c86e890ab00 (diff)
downloadsvg.js-412b37652b6695a6df4c214d7048275f2912dad7.tar.gz
svg.js-412b37652b6695a6df4c214d7048275f2912dad7.zip
fixes pattern animation (#385)
Diffstat (limited to 'src/fx.js')
-rw-r--r--src/fx.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fx.js b/src/fx.js
index 7a480dd..4ed85a2 100644
--- a/src/fx.js
+++ b/src/fx.js
@@ -228,7 +228,7 @@ SVG.FX = SVG.invent({
v = this.attrs[a].destination.multiply(v)
// prepare matrix for morphing
- this.attrs[a] = this.target.ctm().morph(v)
+ this.attrs[a] = (new SVG.Matrix(this.target)).morph(v)
// add parametric rotation values
if (this.param) {