mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-24 22:26:10 +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
|
event.delta
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
if( this.viewer.constrainDuringPan ){
|
||||||
|
this.viewer.viewport.applyConstraints();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user