Merge pull request #16675 from Snuffleupagus/pr-16659-followup
Re-enable editing, if necessary, when exiting PresentationMode (PR 16659 follow-up)
This commit is contained in:
commit
040d5bb294
@ -209,7 +209,9 @@ class PDFPresentationMode {
|
||||
this.pdfViewer.currentPageNumber = pageNumber;
|
||||
|
||||
if (this.#args.annotationEditorMode !== null) {
|
||||
this.pdfViewer.annotationEditorMode = this.#args.annotationEditorMode;
|
||||
this.pdfViewer.annotationEditorMode = {
|
||||
mode: this.#args.annotationEditorMode,
|
||||
};
|
||||
}
|
||||
this.#args = null;
|
||||
}, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user