make sure viewer is visible before selecting photo

otherwise the newly selected photo is not displayed correctly when switching between regular and 360 photos

see #10362
This commit is contained in:
Martin Raifer
2024-08-08 14:55:46 +02:00
parent 9e239df569
commit b0e47ca93c

View File

@@ -501,8 +501,8 @@ export default {
_currentFrame = d.isPano ? _pannellumFrame : _planeFrame;
_currentFrame
.selectPhoto(d, true)
.showPhotoFrame(wrap);
.showPhotoFrame(wrap)
.selectPhoto(d, true);
});
function localeDateString(s) {