mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-03-30 04:00:13 +03:00
fixed wrong getHomeBounds
This commit is contained in:
parent
1cbc2d96c1
commit
8746e8b243
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ $.Viewport.prototype = {
|
|||
this._contentSizeNoRotate = this._contentBoundsNoRotate.getSize().times(
|
||||
contentFactor);
|
||||
|
||||
this._contentBounds = bounds.rotate(this.getRotation(true)).getBoundingBox();
|
||||
this._contentBounds = bounds.rotate(this.getRotation()).getBoundingBox();
|
||||
this._contentSize = this._contentBounds.getSize().times(contentFactor);
|
||||
this._contentAspectRatio = this._contentSize.x / this._contentSize.y;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue