Przeglądaj źródła

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 6 lat temu
rodzic
commit
3ec9ebf971
1 zmienionych plików z 0 dodań i 2 usunięć
  1. +0
    -2
      macrovision.js

+ 0
- 2
macrovision.js Wyświetl plik

@@ -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 {


Ładowanie…
Anuluj
Zapisz