mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 13:16:10 +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,9 +2847,12 @@ function onCanvasScroll( event ) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
gestureSettings = this.gestureSettingsByDeviceType( event.pointerType );
|
||||||
|
if (gestureSettings && gestureSettings.scrollToZoom) {
|
||||||
return false; // We are swallowing this event
|
return false; // We are swallowing this event
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function onContainerEnter( event ) {
|
function onContainerEnter( event ) {
|
||||||
THIS[ this.hash ].mouseInside = true;
|
THIS[ this.hash ].mouseInside = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user