diff options
Diffstat (limited to 'src/circle.js')
-rw-r--r-- | src/circle.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/circle.js b/src/circle.js index d1f2cdc..059813e 100644 --- a/src/circle.js +++ b/src/circle.js @@ -27,8 +27,8 @@ SVG.extend(SVG.Circle, { var r = this.attrs.r || 0; return this.attr({ - cx: (x || ((this.attrs.x || 0) + r)), - cy: (y || ((this.attrs.y || 0) + r)) + cx: x || (this.attrs.x || 0) + r, + cy: y || (this.attrs.y || 0) + r }); } |