Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
chemicalcrux
/
macrovision
Segui
1
Vota
0
Forka
0
Codice
Problemi
5
Pull Requests
0
Rilasci
10
Wiki
Attività
Sfoglia il codice sorgente
Fix an error when deleting a dragged entity
The viewer would try to call updateEntityElement, but the entity would be deleted, causing an error.
master
Fen Dweller
5 anni fa
parent
3109391d67
commit
37142c2db0
1 ha cambiato i file
con
3 aggiunte
e
0 eliminazioni
Visualizzazione separata
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
macrovision.js
+ 3
- 0
macrovision.js
Vedi File
@@ -1167,6 +1167,9 @@ function removeEntity(element) {
if (selected == element) {
deselect();
}
if (clicked == element) {
clicked = null;
}
const option = document.querySelector("#options-selected-entity-" + element.dataset.key);
option.parentElement.removeChild(option);
Write
Preview
Loading…
Annulla
Salva