summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/matrix.js6
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) {