times two is not needed

master
Mark MacKay 2021-01-31 23:45:06 -06:00
parent 1ccb80b276
commit 5b85b9f5e5
1 changed files with 1 additions and 1 deletions

View File

@ -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';