aboutsummaryrefslogtreecommitdiffstats
path: root/src/path.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/path.js')
-rwxr-xr-xsrc/path.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path.js b/src/path.js
index ad231dc..773b3d8 100755
--- a/src/path.js
+++ b/src/path.js
@@ -25,7 +25,7 @@ SVG.Path = SVG.invent({
}
// Set element size to given width and height
, size: function(width, height) {
- var p = this._proportionalSize(width, height)
+ var p = proportionalSize(this.bbox(), width, height)
return this.attr('d', this.array.size(p.width, p.height))
}