summaryrefslogtreecommitdiffstats
path: root/src/sugar.js
diff options
context:
space:
mode:
authorSaivan <savian@me.com>2018-03-05 02:40:32 +1100
committerSaivan <savian@me.com>2018-03-05 02:40:32 +1100
commitc37d94a4dccd3c0d2ce8db99bd80b6e514f5c7de (patch)
tree75cb2d0dd7b50a3f68ed949c6b19bab432dc7811 /src/sugar.js
parent4a03212d2dfac7079d51bd98faefe423889761cf (diff)
downloadsvg.js-c37d94a4dccd3c0d2ce8db99bd80b6e514f5c7de.tar.gz
svg.js-c37d94a4dccd3c0d2ce8db99bd80b6e514f5c7de.zip
Removed gbox and fixed a few typos
Since gbox is completely replaced by rbox, we don't need it anymore. There were also a few small errors to fix.
Diffstat (limited to 'src/sugar.js')
-rw-r--r--src/sugar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sugar.js b/src/sugar.js
index 29f632d..e3ed6a5 100644
--- a/src/sugar.js
+++ b/src/sugar.js
@@ -88,7 +88,7 @@ SVG.extend([SVG.Element, SVG.FX], {
: (direction === 'y') ? [0, around]
: isFinite(direction) ? [direction, direction]
: [0, 0]
- this.transform({flip: directionString, ox: origin[0], oy: origin[1]}, true)
+ this.transform({flip: directionString, origin: origin}, true)
},
// Opacity