allow slightly more zooming in

This commit is contained in:
Colin Megill
2018-04-18 00:29:42 -07:00
parent 9e3ca5c30b
commit c7389ce9ba
+2 -1
View File
@@ -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 || {}