mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-01-19 17:21:50 +03:00
Fix navigator doesn't get constrained although viewer have constrainDuringPan options on
This commit is contained in:
parent
18454ff3de
commit
4eb3864639
@ -405,6 +405,9 @@ function onCanvasDrag( event ) {
|
||||
event.delta
|
||||
)
|
||||
);
|
||||
if( this.viewer.constrainDuringPan ){
|
||||
this.viewer.viewport.applyConstraints();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user