mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 14:46:10 +03:00
Replace call to viewport.setHomeBounds by viewport._setContentBounds
This commit is contained in:
parent
925ba8a78e
commit
eaab4fb4c5
@ -818,7 +818,7 @@ $.Viewport.prototype = {
|
|||||||
degrees += 360;
|
degrees += 360;
|
||||||
}
|
}
|
||||||
this.degrees = degrees;
|
this.degrees = degrees;
|
||||||
this.setHomeBounds(
|
this._setContentBounds(
|
||||||
this.viewer.world.getHomeBounds(),
|
this.viewer.world.getHomeBounds(),
|
||||||
this.viewer.world.getContentFactor());
|
this.viewer.world.getContentFactor());
|
||||||
this.viewer.forceRedraw();
|
this.viewer.forceRedraw();
|
||||||
|
Loading…
Reference in New Issue
Block a user