diff options
Diffstat (limited to 'src/transform.js')
-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 }, |