From 54f7d74a38b662761184e400d2d1e243333340c1 Mon Sep 17 00:00:00 2001 From: Leamsi Escribano Date: Wed, 16 Sep 2020 15:39:58 -0400 Subject: [PATCH] Fixed issue #16 by decreasing maxXOffset --- js/_setCanvasOffset.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/_setCanvasOffset.js b/js/_setCanvasOffset.js index 695551b..3e34749 100644 --- a/js/_setCanvasOffset.js +++ b/js/_setCanvasOffset.js @@ -1,7 +1,7 @@ function setCanvasOffset (canvas, offsetLeft, offsetTop) { //horizontal offset var minXOffset = -canvasSize[0]*zoom+ 164; - var maxXOffset = window.innerWidth - 148; + var maxXOffset = window.innerWidth - 300; if (offsetLeft < minXOffset) canvas.style.left = minXOffset +'px';