mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-04-03 22:03:31 +03:00
Merge pull request #609 from edsilv/ed
British Library Universal Viewer changes
This commit is contained in:
commit
a3754bee6e
3 changed files with 2 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -4,3 +4,4 @@ build/
|
|||
sftp-config.json
|
||||
coverage/
|
||||
temp/
|
||||
.idea
|
|
@ -282,7 +282,7 @@ $.extend( $.Navigator.prototype, $.EventSource.prototype, $.Viewer.prototype, /*
|
|||
bottomright;
|
||||
|
||||
viewerSize = $.getElementSize( this.viewer.element );
|
||||
if ( this._resizeWithViewer && !viewerSize.equals( this.oldViewerSize ) ) {
|
||||
if ( this._resizeWithViewer && viewerSize.x && viewerSize.y && !viewerSize.equals( this.oldViewerSize ) ) {
|
||||
this.oldViewerSize = viewerSize;
|
||||
|
||||
if ( this.maintainSizeRatio || !this.elementArea) {
|
||||
|
|
|
@ -836,7 +836,6 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype,
|
|||
return this;
|
||||
},
|
||||
|
||||
|
||||
/**
|
||||
* @function
|
||||
* @return {Boolean}
|
||||
|
|
Loading…
Add table
Reference in a new issue