diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2015-12-29 13:16:05 +0100 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2015-12-29 13:16:05 +0100 |
commit | 21be7b26b443e0144719e87aafe424634fdb0bdc (patch) | |
tree | 67638e4e7fb972c77c87048c7ef76c19473d39a5 /src | |
parent | 050a84628f1b51e03f3a8245ed176b80571631b1 (diff) | |
download | svg.js-21be7b26b443e0144719e87aafe424634fdb0bdc.tar.gz svg.js-21be7b26b443e0144719e87aafe424634fdb0bdc.zip |
`matrixify()` will not apply the calculated matrix to the node anymore
Diffstat (limited to 'src')
-rw-r--r-- | src/transform.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/transform.js b/src/transform.js index db2c5c3..0e7a5a0 100644 --- a/src/transform.js +++ b/src/transform.js @@ -123,7 +123,7 @@ SVG.extend(SVG.Element, { untransform: function() { return this.attr('transform', null) }, - // merge the whole transformation chain into one matrix + // merge the whole transformation chain into one matrix and returns it matrixify: function() { var matrix = (this.attr('transform') || '') @@ -140,8 +140,6 @@ SVG.extend(SVG.Element, { return matrix[transform[0]].apply(matrix, transform[1]) }, new SVG.Matrix()) - // apply calculated matrix to element - this.attr('transform', matrix) return matrix }, |