mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 02:05:37 +02:00
[editor] Disable editing while PresentationMode is active
This commit is contained in:
parent
13c01b6d4a
commit
37b61f2228
2 changed files with 16 additions and 1 deletions
|
@ -2156,7 +2156,9 @@ class BaseViewer {
|
|||
* @type {number}
|
||||
*/
|
||||
get annotationEditorMode() {
|
||||
return this.#annotationEditorMode;
|
||||
return this.#annotationEditorUIManager
|
||||
? this.#annotationEditorMode
|
||||
: AnnotationEditorType.DISABLE;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue