mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-02-17 23:33:14 +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,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…
x
Reference in New Issue
Block a user