summaryrefslogtreecommitdiffstats
path: root/src/line.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/line.js')
-rwxr-xr-xsrc/line.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/line.js b/src/line.js
index bdbbcde..c11a734 100755
--- a/src/line.js
+++ b/src/line.js
@@ -49,7 +49,7 @@ SVG.Line = SVG.invent({
}
// Set line size by width and height
, size: function(width, height) {
- var p = this._proportionalSize(width, height)
+ var p = proportionalSize(this.bbox(), width, height)
return this.width(p.width).height(p.height)
}