Fix: panZoom disable <1 (montage.js)

pull/3969/head
IgorA100 2024-05-08 13:10:00 +03:00 committed by GitHub
parent 1cf1d85e37
commit adaa0eac0d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -622,6 +622,7 @@ function panZoomAction (action, param) {
$j('.btn-zoom-in').removeClass('hidden');
$j('.btn-zoom-out').removeClass('hidden');
panZoom[i] = Panzoom(param['obj'], {
minScale: 1,
maxScale: 20,
contain: 'outside',
cursor: 'auto',