Skip to content

Commit

Permalink
Merge branch 'recogito#127-annotating-enabled-reactive' into staging
Browse files Browse the repository at this point in the history
# Conflicts:
#	packages/text-annotator/src/SelectionHandler.ts
  • Loading branch information
oleksandr-danylchenko committed Sep 2, 2024
2 parents 14bede7 + 822ee71 commit 7f6cb78
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/text-annotator/src/SelectionHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ export const createSelectionHandler = (
const onSelectStart = (evt: Event) => {
if (!currentAnnotatingEnabled) return;

if (isLeftClick === false)
return;
if (isLeftClick === false) return;

/**
* Make sure we don't listen to selection changes that were
Expand Down

0 comments on commit 7f6cb78

Please sign in to comment.