removed annotations from viewer
This commit is contained in:
parent
df96265115
commit
00610ebf55
@ -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
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user