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,
|
||||
maxZoomLevel: this.maxZoomLevel,
|
||||
viewer: this,
|
||||
initialDegrees: this.degrees,
|
||||
degrees: this.degrees,
|
||||
flipped: this.flipped,
|
||||
navigatorRotate: this.navigatorRotate,
|
||||
homeFillsViewer: this.homeFillsViewer,
|
||||
|
@ -86,6 +86,9 @@ $.Viewport = function( options ) {
|
||||
|
||||
delete options.margins;
|
||||
|
||||
options.initialDegrees = options.degrees;
|
||||
delete options.degrees;
|
||||
|
||||
$.extend( true, this, {
|
||||
|
||||
//required settings
|
||||
|
Loading…
Reference in New Issue
Block a user