Skip to content

Commit

Permalink
Added isLeftClick reset on annotating disabling
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandr-danylchenko committed Nov 4, 2024
1 parent 2ee7384 commit 7a44635
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/text-annotator/src/SelectionHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export const createSelectionHandler = (

if (!enabled) {
currentTarget = undefined;
isLeftClick = undefined;
lastDownEvent = undefined;
}
};
Expand Down

0 comments on commit 7a44635

Please sign in to comment.