Fix: panZoom disable <1 (montage.js)
parent
1cf1d85e37
commit
adaa0eac0d
|
@ -622,6 +622,7 @@ function panZoomAction (action, param) {
|
||||||
$j('.btn-zoom-in').removeClass('hidden');
|
$j('.btn-zoom-in').removeClass('hidden');
|
||||||
$j('.btn-zoom-out').removeClass('hidden');
|
$j('.btn-zoom-out').removeClass('hidden');
|
||||||
panZoom[i] = Panzoom(param['obj'], {
|
panZoom[i] = Panzoom(param['obj'], {
|
||||||
|
minScale: 1,
|
||||||
maxScale: 20,
|
maxScale: 20,
|
||||||
contain: 'outside',
|
contain: 'outside',
|
||||||
cursor: 'auto',
|
cursor: 'auto',
|
||||||
|
|
Loading…
Reference in New Issue