Reset editing mode when changing the pdf document

This commit is contained in:
Calixte Denizet 2025-08-28 22:38:05 +02:00
parent 13ba311e5a
commit 3e01ee9bb7

View File

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