nanogallery2 icon indicating copy to clipboard operation
nanogallery2 copied to clipboard

Allow thumbnail navigation without zooming enabled

Open jonkeane opened this issue 3 years ago • 0 comments

I noticed that when I set "viewerZoom": false clicking on the thumbnails along the bottom when viewing an image stopped being able to be clicked to navigate to other images. It looks like this is because those events aren't registered except for when zooming is enabled.

This PR moves the if clause slightly to always allow thumbnail navigation even when viewer zoom is set to false.

jonkeane avatar Jul 04 '21 02:07 jonkeane