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,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
}
}
}