change variables for better readability, closes #11022

This commit is contained in:
Martin Raifer
2025-05-06 11:24:46 +02:00
parent 39d2201e6e
commit 5c721808c6
3 changed files with 8 additions and 8 deletions

View File

@@ -589,9 +589,9 @@ export default {
});
// imageChanged: called after the viewer has changed images and is ready.
function imageChanged(node) {
function imageChanged(photo) {
this.resetTags();
const image = node.image;
const image = photo.image;
this.setActiveImage(image);
this.setStyles(context, null);
const loc = [image.originalLngLat.lng, image.originalLngLat.lat];