Skip to content

Commit

Permalink
View TextFacsimileSplitView: add openseadragon as alternative viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
bwbohl committed Jul 3, 2024
1 parent 9121944 commit a422ba6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions app/view/window/text/TextFacsimileSplitView.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,11 @@ Ext.define('EdiromOnline.view.window.text.TextFacsimileSplitView', {

if(me.image_server === 'leaflet'){
me.imageViewer = Ext.create('EdiromOnline.view.window.image.LeafletFacsimile');
}
else{
}else if(image_server === "openseadragon") {
me.imageViewer = Ext.create(
"EdiromOnline.view.window.image.OpenSeaDragonViewer",
);
}else{
me.imageViewer = Ext.create('EdiromOnline.view.window.image.ImageViewer');
}

Expand Down Expand Up @@ -87,7 +90,7 @@ Ext.define('EdiromOnline.view.window.text.TextFacsimileSplitView', {

var me = this;

if(me.image_server === 'digilib'){
if(me.image_server === 'digilib' || me.image_server === 'openseadragon'){
me.zoomSlider = Ext.create('Ext.slider.Single', {
width: 140,
value: 100,
Expand Down

0 comments on commit a422ba6

Please sign in to comment.