diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-07-04 11:57:00 +0200 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-07-04 11:57:00 +0200 |
commit | ac854317c3ef89ca2c25b6293530babf1cd9b28c (patch) | |
tree | 98ef16766c3ced950a0349210490fdc96611da3a /src/transform.js | |
parent | 4688ab0d651547cb018c8f00590ddb18de40c6a1 (diff) | |
download | svg.js-ac854317c3ef89ca2c25b6293530babf1cd9b28c.tar.gz svg.js-ac854317c3ef89ca2c25b6293530babf1cd9b28c.zip |
fix origin transformation
Diffstat (limited to 'src/transform.js')
-rw-r--r-- | src/transform.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transform.js b/src/transform.js index c769f53..8b1d56b 100644 --- a/src/transform.js +++ b/src/transform.js @@ -58,7 +58,7 @@ SVG.extend(SVG.Element, { } // Set the origin according to the defined transform - o.origin = getOrigin(o, this) + o = {...o, origin: getOrigin(o, this)} // The user can pass a boolean, an SVG.Element or an SVG.Matrix or nothing var cleanRelative = relative === true ? this : (relative || false) |