From b5f05cb1e6b23ff6187e0a8134d346c415c67db5 Mon Sep 17 00:00:00 2001 From: hppeng Date: Thu, 23 Jun 2022 07:43:32 -0700 Subject: [PATCH] Whoops -- missing case --- js/display_atree.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/display_atree.js b/js/display_atree.js index 162488e..85c2872 100644 --- a/js/display_atree.js +++ b/js/display_atree.js @@ -75,7 +75,7 @@ function construct_AT(elem, tree) { if (parent_node.display.col > node.display.col && (parent_node.display.row != node.display.row)) { connector.classList.add("rotate-180"); } - 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"); } resolve_connector(document.getElementById("atree-row-" + parent_node.display.row).children[node.display.col]);