mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 09:20:06 +02:00
[Editor] Make the text layer focusable before the editors (bug 1881746)
Keep the different layers in a constant order to avoid the use of a z-index and a tab-index.
This commit is contained in:
parent
0022310b9c
commit
1b00511301
14 changed files with 187 additions and 36 deletions
|
@ -1596,6 +1596,9 @@ class AnnotationEditorUIManager {
|
|||
for (const layer of this.#allLayers.values()) {
|
||||
layer.enable();
|
||||
}
|
||||
for (const editor of this.#allEditors.values()) {
|
||||
editor.enable();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1609,6 +1612,9 @@ class AnnotationEditorUIManager {
|
|||
for (const layer of this.#allLayers.values()) {
|
||||
layer.disable();
|
||||
}
|
||||
for (const editor of this.#allEditors.values()) {
|
||||
editor.disable();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue