fix archer tree (2)

This commit is contained in:
reschan 2022-06-23 22:11:47 +07:00
parent e4861df3ef
commit bb98b2c5e4

View file

@ -87,7 +87,7 @@ function construct_AT(elem, tree) {
else {// if (parent_node.display.col < node.display.col && (parent_node.display.row != node.display.row)) { else {// if (parent_node.display.col < node.display.col && (parent_node.display.row != node.display.row)) {
connector.classList.add("rotate-270"); connector.classList.add("rotate-270");
} }
resolve_connector(document.getElementById("atree-row-" + parent_node.display.row).children[node.display.col]); resolve_connector(document.getElementById("atree-row-" + parent_node.display.row).children[node.display.col], node);
} }
} }