mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 05:06:09 +03:00
Viewer.open now honors sequence mode
This commit is contained in:
parent
f018059b60
commit
336482cd1c
@ -581,6 +581,17 @@ $.extend( $.Viewer.prototype, $.EventSource.prototype, $.ControlDock.prototype,
|
||||
return;
|
||||
}
|
||||
|
||||
if (this.sequenceMode && $.isArray(tileSources)) {
|
||||
this.tileSources = tileSources;
|
||||
this._sequenceIndex = 0;
|
||||
if (tileSources.length) {
|
||||
this.open(tileSources[0]);
|
||||
}
|
||||
|
||||
this._updateSequenceButtons( this._sequenceIndex );
|
||||
return;
|
||||
}
|
||||
|
||||
if (!$.isArray(tileSources)) {
|
||||
tileSources = [tileSources];
|
||||
}
|
||||
|
@ -104,7 +104,7 @@
|
||||
});
|
||||
}
|
||||
|
||||
// this.crossTest3();
|
||||
// this.crossTest2();
|
||||
// this.collectionTest();
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user