aboutsummaryrefslogtreecommitdiffstats
path: root/src/elements/Line.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements/Line.js')
-rw-r--r--src/elements/Line.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/Line.js b/src/elements/Line.js
index 1b72a7d..9350a23 100644
--- a/src/elements/Line.js
+++ b/src/elements/Line.js
@@ -44,7 +44,7 @@ export default class Line extends Shape {
// Set element size to given width and height
size (width, height) {
- var p = proportionalSize(this, width, height)
+ const p = proportionalSize(this, width, height)
return this.attr(this.array().size(p.width, p.height).toLine())
}
}