Skip to content

Commit

Permalink
Merge branch 'master' into 284-clear-proofs
Browse files Browse the repository at this point in the history
  • Loading branch information
AnushaTiwari5 authored Dec 6, 2023
2 parents 05b1923 + 8cff259 commit e720f85
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 @@ -261,7 +261,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 e720f85

Please sign in to comment.