Fix: PanZoom when exiting full screen mode (montage.js)

This commit is contained in:
IgorA100
2024-05-29 13:43:26 +03:00
committed by GitHub
parent 4717de17c9
commit d2eb5237d3

View File

@@ -645,7 +645,7 @@ function fullscreenchanged(event) {
objBtn.children('.material-icons').html('fullscreen');
}
//Sometimes the positioning is not correct, so it is better to reset Pan & Zoom
panZoom[stringToNumber(event.target.id)].reset();
zmPanZoom.panZoom[stringToNumber(event.target.id)].reset();
}
}