mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-04-03 13:53:31 +03:00
Fix navigator doesn't get constrained although viewer have constrainDuringPan options on
This commit is contained in:
parent
18454ff3de
commit
4eb3864639
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