aboutsummaryrefslogtreecommitdiffstats
path: root/src/ellipse.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2016-08-04 08:58:29 +0200
committerwout <wout@impinc.co.uk>2016-08-04 08:58:29 +0200
commitb0a8b25f387d882e54dfddbbbc208a7c3ca39730 (patch)
tree6dcba89a33b2debf0f335033b3f27e241b71d6b0 /src/ellipse.js
parent86c99607a393b43aeb50979e97ab69853293847f (diff)
downloadsvg.js-b0a8b25f387d882e54dfddbbbc208a7c3ca39730.tar.gz
svg.js-b0a8b25f387d882e54dfddbbbc208a7c3ca39730.zip
Speed improvements on parent element
Diffstat (limited to 'src/ellipse.js')
-rw-r--r--src/ellipse.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ellipse.js b/src/ellipse.js
index b1ae4fc..043084c 100644
--- a/src/ellipse.js
+++ b/src/ellipse.js
@@ -80,7 +80,7 @@ SVG.extend(SVG.Circle, SVG.Ellipse, {
}
// Custom size function
, size: function(width, height) {
- var p = proportionalSize(this.bbox(), width, height)
+ var p = proportionalSize(this, width, height)
return this
.rx(new SVG.Number(p.width).divide(2))