mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 06:36:11 +03:00
Added check to see if we were zooming before swallowing the canvas scroll event.
This commit is contained in:
parent
458bbd61b6
commit
5f3eebe4e9
@ -2847,8 +2847,11 @@ function onCanvasScroll( event ) {
|
||||
}
|
||||
}
|
||||
else {
|
||||
gestureSettings = this.gestureSettingsByDeviceType( event.pointerType );
|
||||
if (gestureSettings && gestureSettings.scrollToZoom) {
|
||||
return false; // We are swallowing this event
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function onContainerEnter( event ) {
|
||||
|
Loading…
Reference in New Issue
Block a user