Skip to content

Commit

Permalink
Deselect annotations when toggling annotation tool with keyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtcode committed Oct 10, 2023
1 parent 96b01f1 commit 3382837
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common/reader.js
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,7 @@ class Reader {
else {
this._updateState({ tool: this._tools[type] });
}
this.setSelectedAnnotations([]);
}

setFilter(filter) {
Expand Down

0 comments on commit 3382837

Please sign in to comment.