Added liam's fix

This commit is contained in:
unsettledgames 2020-09-17 19:25:00 +02:00
parent d6b292a443
commit 8d033778a5

View File

@ -164,7 +164,7 @@ class Layer {
setCanvasOffset (offsetLeft, offsetTop) {
//horizontal offset
var minXOffset = -this.canvasSize[0] * zoom + 164;
var minXOffset = -this.canvasSize[0] * zoom + 300;
var maxXOffset = window.innerWidth - 148;
if (offsetLeft < minXOffset)