ProjectMirador / mirador-dl-plugin

a Mirador 3 plugin that adds manifest-provided download links to the window options menu
https://mirador-download-plugin.netlify.com/
Other
6 stars 7 forks source link

Change how we determine if a zoomed region link should be displayed. #32

Closed jkeck closed 5 years ago

jkeck commented 5 years ago

Fixes #31

Instead of determining if the current zoom has been changed from the home zoom we are now checking if the current height/width is less than the image heigh/width (also ensuring we don't try to render a link to w/ a negative x/y value)