Skip to content

Commit

Permalink
Fixed SVG scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelvillar committed May 15, 2016
1 parent 6e78437 commit 756d863
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dynamics.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 756d863

Please sign in to comment.