瀏覽代碼

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

tags/v0.1.0
Fen Dweller 6 年之前
父節點
當前提交
c7362189ef
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. +2
    -0
      macrovision.js

+ 2
- 0
macrovision.js 查看文件

@@ -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);

}


Loading…
取消
儲存