Merge pull request #20212 from calixteman/reset_mode

Reset editing mode when changing the pdf document
This commit is contained in:
Tim van der Meij 2025-08-29 20:45:21 +02:00 committed by GitHub
commit a2d4b259c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -873,6 +873,8 @@ class PDFViewer {
this.#annotationEditorUIManager?.destroy();
this.#annotationEditorUIManager = null;
this.#annotationEditorMode = AnnotationEditorType.NONE;
this.#printingAllowed = true;
}