diff --git a/src/canvas.class.js b/src/canvas.class.js index 7c1a66a3..4b040283 100644 --- a/src/canvas.class.js +++ b/src/canvas.class.js @@ -820,7 +820,7 @@ else { cssScale = { width: this.upperCanvasEl.width / bounds.width, - height: this.upperCanvasEl.height / bounds.height, + height: this.upperCanvasEl.height / bounds.height }; } return { diff --git a/src/shapes/line.class.js b/src/shapes/line.class.js index 2d1b519e..52309ed9 100644 --- a/src/shapes/line.class.js +++ b/src/shapes/line.class.js @@ -119,12 +119,12 @@ origin: 'originX', axis1: 'x1', axis2: 'x2', - dimension: 'width', + dimension: 'width' }, { // possible values of origin nearest: 'left', center: 'center', - farthest: 'right', + farthest: 'right' } ), @@ -137,12 +137,12 @@ origin: 'originY', axis1: 'y1', axis2: 'y2', - dimension: 'height', + dimension: 'height' }, { // possible values of origin nearest: 'top', center: 'center', - farthest: 'bottom', + farthest: 'bottom' } ),