mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-04-03 13:53:31 +03:00
reverted Viewport.setRotation, created Viewport.setRotationWithPivot
This commit is contained in:
parent
05997d359c
commit
845cbced69
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue