mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-21 20:56:09 +03:00
more code cleanup
This commit is contained in:
parent
baeb70fdcc
commit
a0ff35a153
@ -875,13 +875,10 @@
|
||||
}
|
||||
|
||||
var onOpen = function() {
|
||||
var origClickSetting,
|
||||
origDblClickSetting;
|
||||
|
||||
viewer.removeHandler('open', onOpen);
|
||||
|
||||
origClickSetting = viewer.gestureSettingsMouse.clickToZoom;
|
||||
origDblClickSetting = viewer.gestureSettingsMouse.dblClickToZoom;
|
||||
var origClickSetting = viewer.gestureSettingsMouse.clickToZoom;
|
||||
var origDblClickSetting = viewer.gestureSettingsMouse.dblClickToZoom;
|
||||
|
||||
viewer.gestureSettingsMouse.clickToZoom = false;
|
||||
viewer.gestureSettingsMouse.dblClickToZoom = true;
|
||||
|
Loading…
Reference in New Issue
Block a user