diff options
Diffstat (limited to 'src/sugar.js')
-rw-r--r-- | src/sugar.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sugar.js b/src/sugar.js index 2edb429..27b0537 100644 --- a/src/sugar.js +++ b/src/sugar.js @@ -33,11 +33,11 @@ var _colorPrefix = function(type, attr) { SVG.extend(SVG.Element, SVG.FX, { // Rotation - rotate: function(deg, cx, cy) { + rotate: function(deg, x, y) { return this.transform({ rotation: deg || 0 - , cx: cx - , cy: cy + , cx: x + , cy: y }) } // Skew |