summaryrefslogtreecommitdiffstats
path: root/src/transform.js
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2016-02-10 21:23:48 +0100
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2016-02-10 21:23:48 +0100
commit64784ffc12d1c4cffd23cd94a5430e3fc1544861 (patch)
treef19e17e492ee2b4127fe7c37ac377de3b4096ff7 /src/transform.js
parenta794401cda156048d921c575ac180aa704d0cd6c (diff)
parent2bf4788597959684f39e3e17777149a9ccb8ceab (diff)
downloadsvg.js-64784ffc12d1c4cffd23cd94a5430e3fc1544861.tar.gz
svg.js-64784ffc12d1c4cffd23cd94a5430e3fc1544861.zip
Merge branch 'master' into 3.0.0
Diffstat (limited to 'src/transform.js')
-rw-r--r--src/transform.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/transform.js b/src/transform.js
index 2d6429c..2b6e9df 100644
--- a/src/transform.js
+++ b/src/transform.js
@@ -125,7 +125,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') || '')
@@ -142,8 +142,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
},