Ver código fonte

Fix the arrows for very large entities not disappearing when the entity is deleted

tags/v0.1.0
Fen Dweller 6 anos atrás
pai
commit
c7362189ef
1 arquivos alterados com 2 adições e 0 exclusões
  1. +2
    -0
      macrovision.js

+ 2
- 0
macrovision.js Ver arquivo

@@ -904,7 +904,9 @@ function removeEntity(element) {

delete entities[element.dataset.key];
const bottomName = document.querySelector("#bottom-name-" + element.dataset.key);
const topName = document.querySelector("#top-name-" + element.dataset.key);
bottomName.parentElement.removeChild(bottomName);
topName.parentElement.removeChild(topName);
element.parentElement.removeChild(element);

}


Carregando…
Cancelar
Salvar