From 5b85b9f5e5bddc099a6a97b726a91108fea90982 Mon Sep 17 00:00:00 2001 From: Mark MacKay Date: Sun, 31 Jan 2021 23:45:06 -0600 Subject: [PATCH] times two is not needed --- src/js/rulers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/rulers.js b/src/js/rulers.js index c140849..0daf270 100644 --- a/src/js/rulers.js +++ b/src/js/rulers.js @@ -38,7 +38,7 @@ function updateRulers(svgCanvas, scanvas, zoom) { var hcanv = $hcanv[0]; // Set the canvas size to the width of the container - var ruler_len = scanvas[lentype]()*2; + var ruler_len = scanvas[lentype](); var total_len = ruler_len; hcanv.parentNode.style[lentype] = total_len + 'px';