mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 02:05:37 +02:00
[Editor] Avoid to unselect when a new page is rendered
This commit is contained in:
parent
4be6c90796
commit
71f5050ed2
3 changed files with 80 additions and 1 deletions
|
@ -1104,6 +1104,7 @@ class AnnotationEditorUIManager {
|
|||
}
|
||||
this.setEditingState(true);
|
||||
this.#enableAll();
|
||||
this.unselectAll();
|
||||
for (const layer of this.#allLayers.values()) {
|
||||
layer.updateMode(mode);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue