instanceof fix
This commit is contained in:
parent
a49db8fb36
commit
0a3009ab1d
@ -405,7 +405,7 @@ export class AnnotationActionsService {
|
||||
|
||||
const document = await viewer.Core.documentViewer.getDocument().getPDFDoc();
|
||||
const page = await document.getPage(viewerAnnotation.getPageNumber());
|
||||
if (viewerAnnotation instanceof Core.Annotations.TextHighlightAnnotation) {
|
||||
if (viewerAnnotation instanceof viewer.Core.Annotations.TextHighlightAnnotation) {
|
||||
const words = [];
|
||||
const rectangles: IRectangle[] = [];
|
||||
for (const quad of viewerAnnotation.Quads) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user