From c7389ce9ba33c15e985928914717bd99e6d754be Mon Sep 17 00:00:00 2001 From: Colin Megill Date: Wed, 18 Apr 2018 00:29:42 -0700 Subject: [PATCH] allow slightly more zooming in --- src/util/camera.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util/camera.js b/src/util/camera.js index 6c29eaf7..3174090a 100644 --- a/src/util/camera.js +++ b/src/util/camera.js @@ -7,7 +7,8 @@ var key = require('key-pressed') const panSpeed = 0.4 const scaleSpeed = 0.5 const scaleMax = 3 -const scaleMin = 1.15 +// const scaleMin = 1.15 +const scaleMin = 1.03 function attachCamera(canvas, opts) { opts = opts || {}