mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 14:46:10 +03:00
fixed wrong getHomeBounds
This commit is contained in:
parent
1cbc2d96c1
commit
8746e8b243
@ -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…
Reference in New Issue
Block a user