removed annotations from viewer

This commit is contained in:
Timo Bejan 2020-10-08 11:18:53 +03:00
parent df96265115
commit 00610ebf55

View File

@ -48,9 +48,6 @@ export class PdfViewerComponent implements OnInit, AfterViewInit, OnDestroy {
const displayMode = this.wvInstance.docViewer.getDisplayModeManager().getDisplayMode();
displayMode.mode = "Continuous";
this.wvInstance.docViewer.getDisplayModeManager().setDisplayMode(displayMode);
if (this.fileType === FileType.ANNOTATED) {
this.wvInstance.toggleElement('notesPanel')
}
}
ngAfterViewInit(): void {
@ -108,6 +105,8 @@ export class PdfViewerComponent implements OnInit, AfterViewInit, OnDestroy {
'textSquigglyToolButton',
'textStrikeoutToolButton',
'linkButton',
'toggleNotesButton',
'notesPanel'
]);
this.wvInstance.textPopup.add(<any>{
@ -130,7 +129,5 @@ export class PdfViewerComponent implements OnInit, AfterViewInit, OnDestroy {
this._viewerSyncService.deregisterInstance(this.fileType);
}
// toggleNotesButton
// notesPanel
}