aboutsummaryrefslogtreecommitdiffstats
path: root/src/helpers.js
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-06-02 13:51:18 +0200
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2018-06-02 13:51:18 +0200
commitd0d4f865246845fcdd409632d499cb0f15599670 (patch)
tree53ba8c445df53e7cf385df3018c40257f4806020 /src/helpers.js
parent52a00f2e865ed7cd21e76877c77ea2afada7aea0 (diff)
downloadsvg.js-d0d4f865246845fcdd409632d499cb0f15599670.tar.gz
svg.js-d0d4f865246845fcdd409632d499cb0f15599670.zip
first tries to make transformations work
Diffstat (limited to 'src/helpers.js')
-rw-r--r--src/helpers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers.js b/src/helpers.js
index fca14df..3291c06 100644
--- a/src/helpers.js
+++ b/src/helpers.js
@@ -227,7 +227,7 @@ function formatTransforms (o) {
: isFinite(o.scaleY) ? o.scaleY * flipY
: flipY
var shear = o.shear || 0
- var theta = o.rotate || 0
+ var theta = o.rotate || o.theta || 0
var origin = new SVG.Point(o.origin || o.ox || o.originX, o.oy || o.originY)
var ox = origin.x
var oy = origin.y