Skip to content

Commit

Permalink
removed setTool export in index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
AnushaTiwari5 committed Dec 5, 2023
1 parent 562e389 commit f20a686
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit f20a686

Please sign in to comment.