Merge pull request #20212 from calixteman/reset_mode
Reset editing mode when changing the pdf document
This commit is contained in:
commit
a2d4b259c5
@ -873,6 +873,8 @@ class PDFViewer {
|
|||||||
this.#annotationEditorUIManager?.destroy();
|
this.#annotationEditorUIManager?.destroy();
|
||||||
this.#annotationEditorUIManager = null;
|
this.#annotationEditorUIManager = null;
|
||||||
|
|
||||||
|
this.#annotationEditorMode = AnnotationEditorType.NONE;
|
||||||
|
|
||||||
this.#printingAllowed = true;
|
this.#printingAllowed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user