mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 09:45:42 +02:00
[Editor] When an editor is unselected give the focus to the current page
Follow-up of #16756.
This commit is contained in:
parent
8679199a2f
commit
9d576d5097
4 changed files with 90 additions and 3 deletions
|
@ -837,7 +837,7 @@ class AnnotationEditorUIManager {
|
|||
}
|
||||
|
||||
this.unselectAll();
|
||||
const layer = this.#allLayers.get(this.#currentPageIndex);
|
||||
const layer = this.currentLayer;
|
||||
|
||||
try {
|
||||
const newEditors = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue