mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
[Editor] Edit an existing FreeText annotation in double-clicking on it (bug 1787298)
This commit is contained in:
parent
c33e6ceb03
commit
5c5f9af803
8 changed files with 86 additions and 14 deletions
|
@ -175,7 +175,9 @@ class PDFPresentationMode {
|
|||
this.pdfViewer.currentScaleValue = "page-fit";
|
||||
|
||||
if (this.#args.annotationEditorMode !== null) {
|
||||
this.pdfViewer.annotationEditorMode = AnnotationEditorType.NONE;
|
||||
this.pdfViewer.annotationEditorMode = {
|
||||
mode: AnnotationEditorType.NONE,
|
||||
};
|
||||
}
|
||||
}, 0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue