mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-04-04 14:23:32 +03:00
Merge branch 'master' of github.com:openseadragon/openseadragon
This commit is contained in:
commit
537c3d04c1
1 changed files with 3 additions and 0 deletions
|
@ -405,6 +405,9 @@ function onCanvasDrag( event ) {
|
|||
event.delta
|
||||
)
|
||||
);
|
||||
if( this.viewer.constrainDuringPan ){
|
||||
this.viewer.viewport.applyConstraints();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue