From 756d863fb24bb65eb6244f94b71ee876b640d52d Mon Sep 17 00:00:00 2001 From: Michael Villar Date: Sun, 15 May 2016 00:36:49 -0700 Subject: [PATCH] Fixed SVG scaling --- src/dynamics.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dynamics.coffee b/src/dynamics.coffee index c3a935d..09074fa 100644 --- a/src/dynamics.coffee +++ b/src/dynamics.coffee @@ -473,9 +473,9 @@ class Matrix2D else if k == "translateY" @m = @m.translate(0, v) else if k == "scaleX" - @m = @m.scale(v, 1) + @m = @m.scaleNonUniform(v, 1) else if k == "scaleY" - @m = @m.scale(1, v) + @m = @m.scaleNonUniform(1, v) else if k == "rotateZ" @m = @m.rotate(v) else if k == "skewX"