diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-10-08 15:35:33 +0200 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-10-08 15:35:33 +0200 |
commit | 2ccf7e2a8eb94d87b7a549338022f9b55dcc186e (patch) | |
tree | f11a5ca350bd7dd645ae9444848145ba675f9cdc | |
parent | d3dd6ad74b35e674ab24a8d9bf0c3b2f336b5bca (diff) | |
download | svg.js-2ccf7e2a8eb94d87b7a549338022f9b55dcc186e.tar.gz svg.js-2ccf7e2a8eb94d87b7a549338022f9b55dcc186e.zip |
Cant see the forest with all these trees...
-rw-r--r-- | src/matrix.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/matrix.js b/src/matrix.js index 986b3fe..49015a3 100644 --- a/src/matrix.js +++ b/src/matrix.js @@ -255,8 +255,7 @@ SVG.Matrix = SVG.invent({ // Scale matrix scale: function (x, y, cx, cy) { - return this.scaleO.call(this.clone(), ...arguments) - //return this.clone().scaleO(x, y, cx, cy) + return this.clone().scaleO(...arguments) }, scaleO: function (x, y = x, cx = 0, cy = 0) { @@ -331,8 +330,7 @@ SVG.Matrix = SVG.invent({ // Skew Matrix skew: function (x, y, cx, cy) { - return this.skewO.call(this.clone(), ...arguments) - //return this.clone().skew(x, y, cx, cy) + return this.clone().skewO(...arguments) }, skewO: function (x, y = x, cx = 0, cy = 0) { |