mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 06:36:11 +03:00
Merge pull request #609 from edsilv/ed
British Library Universal Viewer changes
This commit is contained in:
commit
a3754bee6e
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…
Reference in New Issue
Block a user