Procházet zdrojové kódy

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 před 6 roky
rodič
revize
3ec9ebf971
1 změnil soubory, kde provedl 0 přidání a 2 odebrání
  1. +0
    -2
      macrovision.js

+ 0
- 2
macrovision.js Zobrazit soubor

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


Načítá se…
Zrušit
Uložit