Better constrain during pan for mobile

This commit is contained in:
Ian Gilman 2017-08-29 10:05:47 -07:00
parent 36dd37b931
commit 9ac194ca6e

View File

@ -2705,7 +2705,7 @@ function onCanvasDrag( event ) {
}
}
this.viewport.panBy( this.viewport.deltaPointsFromPixels( event.delta.negate() ), gestureSettings.flickEnabled && !this.constrainDuringPan);
this.viewport.panBy( this.viewport.deltaPointsFromPixels( event.delta.negate() ), gestureSettings.flickEnabled);
}
}