mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-01-20 01:31:45 +03:00
Update navigator on full-page/full-screen bug fix
This commit is contained in:
parent
14acb5d581
commit
a189ba97d7
@ -910,6 +910,10 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype,
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( this.navigator && this.viewport ) {
|
||||||
|
this.navigator.update( this.viewport );
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Raised when the viewer has changed to/from full-page mode (see {@link OpenSeadragon.Viewer#setFullPage}).
|
* Raised when the viewer has changed to/from full-page mode (see {@link OpenSeadragon.Viewer#setFullPage}).
|
||||||
*
|
*
|
||||||
@ -991,6 +995,9 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype,
|
|||||||
_this.element.style.height = _this.fullPageStyleHeight;
|
_this.element.style.height = _this.fullPageStyleHeight;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if ( _this.navigator && _this.viewport ) {
|
||||||
|
_this.navigator.update( _this.viewport );
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* Raised when the viewer has changed to/from full-screen mode (see {@link OpenSeadragon.Viewer#setFullScreen}).
|
* Raised when the viewer has changed to/from full-screen mode (see {@link OpenSeadragon.Viewer#setFullScreen}).
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user