Skip to content

Commit 1b9fbb5

Browse files
committed
Formatting
1 parent 0c27206 commit 1b9fbb5

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

packages/text-annotator/src/SelectionHandler.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
import { type Filter, Origin, type Selection, type User } from '@annotorious/core';
1+
import { Origin } from '@annotorious/core';
2+
import type { Filter, Selection, User } from '@annotorious/core';
23
import { v4 as uuidv4 } from 'uuid';
3-
import hotkeys, { type KeyHandler } from 'hotkeys-js';
4+
import hotkeys from 'hotkeys-js';
45
import type { TextAnnotatorState } from './state';
56
import type { TextAnnotation, TextAnnotationTarget } from './model';
67
import {
@@ -201,7 +202,7 @@ export const SelectionHandler = (
201202

202203
const timeDifference = evt.timeStamp - lastDownEvent.timeStamp;
203204

204-
/**
205+
/**
205206
* We must check the `isCollapsed` within the 0-timeout
206207
* to handle the annotation dismissal after a click properly.
207208
*
@@ -272,7 +273,7 @@ export const SelectionHandler = (
272273
destroy,
273274
setFilter,
274275
setUser
275-
};
276+
}
276277

277-
};
278+
}
278279

0 commit comments

Comments
 (0)