diff --git a/src/app/workspace/resource/representation/still-image/still-image.component.ts b/src/app/workspace/resource/representation/still-image/still-image.component.ts index 863c0c2b8e..3055b13185 100644 --- a/src/app/workspace/resource/representation/still-image/still-image.component.ts +++ b/src/app/workspace/resource/representation/still-image/still-image.component.ts @@ -250,13 +250,12 @@ export class StillImageComponent implements OnChanges, OnDestroy { navigatorLeft: 'calc(100% - 160px)', navigatorHeight: '120px', navigatorWidth: '120px', + gestureSettingsMouse: { + clickToZoom: false // do not zoom in on click + } }; this._viewer = new OpenSeadragon.Viewer(osdOptions); - // do not zoom in on click - // https://github.com/openseadragon/openseadragon/issues/1115#issuecomment-275725918 - this._viewer.zoomPerClick = 1; - this._viewer.addHandler('full-screen', (args) => { if (args.fullScreen) { viewerContainer.classList.add('fullscreen');