mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 13:16:10 +03:00
ensure constructor backward compatibility
This commit is contained in:
parent
eca51850e2
commit
62e24ac1ab
@ -378,7 +378,7 @@ $.Viewer = function( options ) {
|
|||||||
minZoomLevel: this.minZoomLevel,
|
minZoomLevel: this.minZoomLevel,
|
||||||
maxZoomLevel: this.maxZoomLevel,
|
maxZoomLevel: this.maxZoomLevel,
|
||||||
viewer: this,
|
viewer: this,
|
||||||
initialDegrees: this.degrees,
|
degrees: this.degrees,
|
||||||
flipped: this.flipped,
|
flipped: this.flipped,
|
||||||
navigatorRotate: this.navigatorRotate,
|
navigatorRotate: this.navigatorRotate,
|
||||||
homeFillsViewer: this.homeFillsViewer,
|
homeFillsViewer: this.homeFillsViewer,
|
||||||
|
@ -86,6 +86,9 @@ $.Viewport = function( options ) {
|
|||||||
|
|
||||||
delete options.margins;
|
delete options.margins;
|
||||||
|
|
||||||
|
options.initialDegrees = options.degrees;
|
||||||
|
delete options.degrees;
|
||||||
|
|
||||||
$.extend( true, this, {
|
$.extend( true, this, {
|
||||||
|
|
||||||
//required settings
|
//required settings
|
||||||
|
Loading…
Reference in New Issue
Block a user