mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-21 20:56:09 +03:00
Merge pull request #858 from fs-webdev/master
Added check to see if we were zooming before swallowing the canvas sc…
This commit is contained in:
commit
c1d9f6c5a8
@ -2847,7 +2847,10 @@ function onCanvasScroll( event ) {
|
||||
}
|
||||
}
|
||||
else {
|
||||
return false; // We are swallowing this event
|
||||
gestureSettings = this.gestureSettingsByDeviceType( event.pointerType );
|
||||
if (gestureSettings && gestureSettings.scrollToZoom) {
|
||||
return false; // We are swallowing this event
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user