Skip to content

Commit

Permalink
Tools reset to pointer when used (fix #70)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcreedcmu committed Nov 23, 2023
1 parent b36a0dc commit 369dadd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/state-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ export function checkValid(state: CoreState): CoreState {
s.panic = panic;
s.invalidWords = invalidWords;
s.connectedSet = connectedSet;

// XXX: is this the right place to do this?
s.currentTool = 'pointer';
});
}

Expand Down

0 comments on commit 369dadd

Please sign in to comment.