mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 21:26:10 +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
|
sftp-config.json
|
||||||
coverage/
|
coverage/
|
||||||
temp/
|
temp/
|
||||||
|
.idea
|
@ -282,7 +282,7 @@ $.extend( $.Navigator.prototype, $.EventSource.prototype, $.Viewer.prototype, /*
|
|||||||
bottomright;
|
bottomright;
|
||||||
|
|
||||||
viewerSize = $.getElementSize( this.viewer.element );
|
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;
|
this.oldViewerSize = viewerSize;
|
||||||
|
|
||||||
if ( this.maintainSizeRatio || !this.elementArea) {
|
if ( this.maintainSizeRatio || !this.elementArea) {
|
||||||
|
@ -836,7 +836,6 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype,
|
|||||||
return this;
|
return this;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @function
|
* @function
|
||||||
* @return {Boolean}
|
* @return {Boolean}
|
||||||
|
Loading…
Reference in New Issue
Block a user