Skip to content

Commit

Permalink
Merged main into recogito#127-annotating-enabled-reactive
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandr-danylchenko committed Sep 30, 2024
1 parent eb65af5 commit ac26a81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/text-annotator/src/SelectionHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import debounce from 'debounce';
import { v4 as uuidv4 } from 'uuid';
import hotkeys from 'hotkeys-js';

import { Origin, type Filter, type User } from '@annotorious/core';
import { Origin, type Filter, type Selection, type User } from '@annotorious/core';

import type { TextAnnotatorState } from './state';
import type { TextAnnotation, TextAnnotationTarget } from './model';
Expand Down Expand Up @@ -273,7 +273,7 @@ export const createSelectionHandler = (

const destroy = () => {
currentTarget = undefined;
lastPointerDown = undefined;
lastDownEvent = undefined;

onSelectionChange.clear();

Expand Down

0 comments on commit ac26a81

Please sign in to comment.