Added code to swallow the canvas-scroll event if we are swallowing it because of time.

This commit is contained in:
Grant Echols 2015-11-02 16:03:27 -07:00
parent 40edbd7a1c
commit 3214494dc9

View File

@ -2783,11 +2783,13 @@ function onCanvasScroll( event ) {
shift: event.shift,
originalEvent: event.originalEvent
});
if (gestureSettings && gestureSettings.scrollToZoom) {
//cancels event
return false;
}
}
if (gestureSettings && gestureSettings.scrollToZoom) {
//cancels event
return false;
else {
return false; // We are swallowing this event
}
}