summaryrefslogtreecommitdiffstats
path: root/src/ellipse.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ellipse.js')
-rwxr-xr-xsrc/ellipse.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ellipse.js b/src/ellipse.js
index d84f988..0d23e6e 100755
--- a/src/ellipse.js
+++ b/src/ellipse.js
@@ -33,7 +33,7 @@ SVG.Ellipse = SVG.invent({
}
// Custom size function
, size: function(width, height) {
- var p = this._proportionalSize(width, height)
+ var p = proportionalSize(this.bbox(), width, height)
return this.attr({
rx: new SVG.Number(p.width).divide(2)