Quellcode durchsuchen

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 vor 6 Jahren
Ursprung
Commit
3ec9ebf971
1 geänderte Dateien mit 0 neuen und 2 gelöschten Zeilen
  1. +0
    -2
      macrovision.js

+ 0
- 2
macrovision.js Datei anzeigen

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


Laden…
Abbrechen
Speichern