Parcourir la source

Fix attribution info showing up wrongly when loading a scene

One entity was having its info shown, even though it was not selected
tags/v0.1.0
Fen Dweller il y a 6 ans
Parent
révision
3ec9ebf971
1 fichiers modifiés avec 0 ajouts et 2 suppressions
  1. +0
    -2
      macrovision.js

+ 0
- 2
macrovision.js Voir le fichier

@@ -1044,8 +1044,6 @@ function displayEntity(entity, view, x, y, selectEntity=false, refresh=false) {
const image = entity.views[view].image;
img.src = image.source;

displayAttribution(image.source);

if (image.bottom !== undefined) {
img.style.setProperty("--offset", ((-1 + image.bottom) * 100) + "%")
} else {


Chargement…
Annuler
Enregistrer