diff --git a/src/navigator.js b/src/navigator.js index fe977d0c..f7d1abd9 100644 --- a/src/navigator.js +++ b/src/navigator.js @@ -405,6 +405,9 @@ function onCanvasDrag( event ) { event.delta ) ); + if( this.viewer.constrainDuringPan ){ + this.viewer.viewport.applyConstraints(); + } } }