fix zooming speed, closes #4121

This commit is contained in:
zadam 2023-07-25 22:33:35 +02:00
parent ddf75cd5e5
commit 04813743e2

View file

@ -145,8 +145,8 @@ function renderImage(entity, $renderedContent, options = {}) {
if (options.imageHasZoom) {
libraryLoader.requireLibrary(libraryLoader.WHEEL_ZOOM).then(() => {
WZoom.create(`#${$img.attr("id")}`, {
maxScale: 10,
speed: 20,
maxScale: 50,
speed: 1.3,
zoomOnClick: false
});
});