diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2015-03-03 00:15:45 +0100 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2015-03-03 00:15:45 +0100 |
commit | cc9a4a372893d948900ce3fe83dd1324b153757d (patch) | |
tree | 5727d4a0291130e390281ac623f1bfad6a5453b0 /src | |
parent | 2eff42ea62f1ff8301000b49eae54cc8c370ee66 (diff) | |
download | svg.js-cc9a4a372893d948900ce3fe83dd1324b153757d.tar.gz svg.js-cc9a4a372893d948900ce3fe83dd1324b153757d.zip |
Fixes #258, added few fx-specs
Diffstat (limited to 'src')
-rwxr-xr-x | src/fx.js | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -233,6 +233,13 @@ SVG.FX = SVG.invent({ /* dlete matrixstring from object */ delete o.matrix + /* add rotation-center to transformations */ + this.target.trans.cx = o.cx || null + this.target.trans.cy = o.cy || null + + delete o.cx + delete o.cy + /* store matrix values */ for (v in o) this.trans[v] = { from: this.target.trans[v], to: o[v] } |