Added check to see if we were zooming before swallowing the canvas scroll event.

This commit is contained in:
Grant Echols 2016-02-22 11:59:37 -07:00
parent 458bbd61b6
commit 5f3eebe4e9

View File

@ -2847,8 +2847,11 @@ 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 ) {