mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 14:46:10 +03:00
reverted Viewport.setRotation, created Viewport.setRotationWithPivot
This commit is contained in:
parent
05997d359c
commit
845cbced69
@ -617,6 +617,7 @@ $.Viewport.prototype = {
|
||||
|
||||
var bounds = this.getBoundsNoRotate();
|
||||
var constrainedBounds = this._applyBoundaryConstraints(bounds);
|
||||
this._raiseConstraintsEvent(immediately);
|
||||
|
||||
if (bounds.x !== constrainedBounds.x ||
|
||||
bounds.y !== constrainedBounds.y ||
|
||||
|
Loading…
Reference in New Issue
Block a user