Merge pull request #1104 from dieend/navigator_constrainDuringPan

Navigator can pan outside boundary
This commit is contained in:
Ian Gilman 2017-01-16 11:45:59 -08:00 committed by GitHub
commit 525232c873

View File

@ -405,6 +405,9 @@ function onCanvasDrag( event ) {
event.delta event.delta
) )
); );
if( this.viewer.constrainDuringPan ){
this.viewer.viewport.applyConstraints();
}
} }
} }