summaryrefslogtreecommitdiffstats
path: root/src/ellipse.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ellipse.js')
-rwxr-xr-xsrc/ellipse.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ellipse.js b/src/ellipse.js
index d64209a..b1ae4fc 100755
--- a/src/ellipse.js
+++ b/src/ellipse.js
@@ -64,11 +64,11 @@ SVG.extend(SVG.Circle, SVG.Ellipse, {
}
// Move by center over x-axis
, cx: function(x) {
- return x == null ? this.attr('cx') : this.attr('cx', new SVG.Number(x).divide(this.transform('scaleX')))
+ return x == null ? this.attr('cx') : this.attr('cx', x)
}
// Move by center over y-axis
, cy: function(y) {
- return y == null ? this.attr('cy') : this.attr('cy', new SVG.Number(y).divide(this.transform('scaleY')))
+ return y == null ? this.attr('cy') : this.attr('cy', y)
}
// Set width of element
, width: function(width) {