mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-08 23:18:11 +08:00
allow slightly more zooming in
This commit is contained in:
+2
-1
@@ -7,7 +7,8 @@ var key = require('key-pressed')
|
|||||||
const panSpeed = 0.4
|
const panSpeed = 0.4
|
||||||
const scaleSpeed = 0.5
|
const scaleSpeed = 0.5
|
||||||
const scaleMax = 3
|
const scaleMax = 3
|
||||||
const scaleMin = 1.15
|
// const scaleMin = 1.15
|
||||||
|
const scaleMin = 1.03
|
||||||
|
|
||||||
function attachCamera(canvas, opts) {
|
function attachCamera(canvas, opts) {
|
||||||
opts = opts || {}
|
opts = opts || {}
|
||||||
|
|||||||
Reference in New Issue
Block a user