Skip to content

Commit b722c5e

Browse files
committed
examples/deepzoom: allow zooming out to view the entire image
After an image was zoomed in to fill the viewport, OpenSeadragon 3.0.0 was allowing zooming out again only until the first pair of image edges was reached. Update the configuration to allow zooming out to view the entire image.
1 parent a3f5dd7 commit b722c5e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

examples/deepzoom/templates/slide-fullpage.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
blendTime: 0.1,
3838
constrainDuringPan: true,
3939
maxZoomPixelRatio: 2,
40-
minZoomLevel: 1,
40+
minZoomImageRatio: 1,
4141
visibilityRatio: 1,
4242
zoomPerScroll: 2,
4343
timeout: 120000,

examples/deepzoom/templates/slide-multipane.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ <h1>Slide properties</h1>
124124
blendTime: 0.1,
125125
constrainDuringPan: true,
126126
maxZoomPixelRatio: 2,
127-
minZoomLevel: 1,
127+
minZoomImageRatio: 1,
128128
visibilityRatio: 1,
129129
zoomPerScroll: 2,
130130
});

0 commit comments

Comments
 (0)