mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-29 00:26:10 +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,7 +2847,10 @@ function onCanvasScroll( event ) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
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