Skip to content

Commit

Permalink
fix for #10361 (only panoramax)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiapezzotti committed Aug 9, 2024
1 parent 4e7a0f7 commit d77cd37
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/svg/panoramax_images.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,10 @@ export function svgPanoramaxImages(projection, context, dispatch) {
let sequences = (service ? service.sequences(projection, zoom) : []);
let images = (service && zoom >= imageMinZoom ? service.images(projection) : []);

let isHidden = d3_select('.photo-wrapper.panoramax-wrapper.hide').size();

if(isHidden) service.setActiveImage(null);

images = await filterImages(images);
sequences = await filterSequences(sequences, service);

Expand Down

0 comments on commit d77cd37

Please sign in to comment.