From f20a686ddbba0a9d687f0774fe52edde6a63f3c2 Mon Sep 17 00:00:00 2001 From: AnushaTiwari5 Date: Tue, 5 Dec 2023 14:13:13 -0500 Subject: [PATCH] removed setTool export in index.ts --- src/index.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index ee627553..6b40c535 100644 --- a/src/index.ts +++ b/src/index.ts @@ -253,7 +253,12 @@ toolButtons.forEach(button => { }); }); -export function setTool(state: Tool) { +/** + * Updates our global tree content tool and the html display elements according to the tool button + * that was clicked on + * @param state The tool that was clicked on + */ +function setTool(state: Tool) { treeContext.toolState = state; cutTools.style.display = "none"; atomTools.style.display = "none";