[Editor] Edit an existing FreeText annotation in double-clicking on it (bug 1787298)

This commit is contained in:
Calixte Denizet 2023-07-07 15:51:48 +02:00
parent c33e6ceb03
commit 5c5f9af803
8 changed files with 86 additions and 14 deletions

View file

@ -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);