Pārlūkot izejas kodu

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 pirms 6 gadiem
vecāks
revīzija
3ec9ebf971
1 mainītis faili ar 0 papildinājumiem un 2 dzēšanām
  1. +0
    -2
      macrovision.js

+ 0
- 2
macrovision.js Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt