Fix navigator doesn't get constrained although viewer have constrainDuringPan options on

This commit is contained in:
Adinata Thayib 2017-01-11 20:11:43 -08:00
parent 18454ff3de
commit 4eb3864639

View File

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