mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-04-04 22:33:32 +03:00
Fix for #1232 - constrainDuringPan causes jitter on mobile
This commit is contained in:
parent
4e060d6ca2
commit
76f5a0ed33
1 changed files with 1 additions and 1 deletions
|
@ -2699,7 +2699,7 @@ function onCanvasDrag( event ) {
|
|||
}
|
||||
}
|
||||
|
||||
this.viewport.panBy( this.viewport.deltaPointsFromPixels( event.delta.negate() ), gestureSettings.flickEnabled );
|
||||
this.viewport.panBy( this.viewport.deltaPointsFromPixels( event.delta.negate() ), gestureSettings.flickEnabled && !this.constrainDuringPan);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue