mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-04-04 22:33:32 +03:00
Better constrain during pan for mobile
This commit is contained in:
parent
36dd37b931
commit
9ac194ca6e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue