diff options
Diffstat (limited to 'src/line.js')
-rw-r--r-- | src/line.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/line.js b/src/line.js index 8b8d1f3..cfe0533 100644 --- a/src/line.js +++ b/src/line.js @@ -29,7 +29,7 @@ SVG.Line = SVG.invent({ } // Set element size to given width and height , size: function(width, height) { - var p = proportionalSize(this.bbox(), width, height) + var p = proportionalSize(this, width, height) return this.attr(this.array().size(p.width, p.height).toLine()) } |