more code cleanup

This commit is contained in:
Mark Salsbery 2021-03-17 16:18:49 -07:00
parent baeb70fdcc
commit a0ff35a153

View File

@ -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;