fix: connector not updating when node is unselected
This commit is contained in:
parent
5748af5f7d
commit
5992d5db7f
1 changed files with 1 additions and 5 deletions
|
@ -238,9 +238,7 @@ function atree_toggle_state(node) {
|
|||
|
||||
function atree_update_connector() {
|
||||
atree_map.forEach((v) => {
|
||||
if (v.active) {
|
||||
atree_compute_highlight(v);
|
||||
}
|
||||
atree_compute_highlight(v);
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -336,8 +334,6 @@ function atree_parse_connector(orient, type) {
|
|||
"1111": {attrib: "", rotate: 0}
|
||||
}
|
||||
|
||||
console.log(orient);
|
||||
|
||||
let res = ""
|
||||
for (let i in orient) {
|
||||
res += orient[i];
|
||||
|
|
Loading…
Add table
Reference in a new issue