RED-3603: Arrow navigation fix
This commit is contained in:
parent
55938fc92b
commit
3c5d31768e
@ -229,6 +229,7 @@ export class PdfViewerComponent extends AutoUnsubscribe implements OnInit, OnCha
|
||||
this.annotationManager.addEventListener('annotationSelected', async (annotations: Annotation[], action) => {
|
||||
const nextAnnotations = this.multiSelectService.isEnabled ? this.annotationManager.getSelectedAnnotations() : annotations;
|
||||
this.annotationSelected.emit(nextAnnotations.map(ann => ann.Id));
|
||||
this.annotationSelected.emit(action === 'selected' ? nextAnnotations.map(ann => ann.Id) : []);
|
||||
if (action === 'deselected') {
|
||||
return this._toggleRectangleAnnotationAction(true);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user