[Editor] Avoid to unselect when a new page is rendered

This commit is contained in:
Calixte Denizet 2023-08-10 18:02:27 +02:00
parent 4be6c90796
commit 71f5050ed2
3 changed files with 80 additions and 1 deletions

View file

@ -1104,6 +1104,7 @@ class AnnotationEditorUIManager {
}
this.setEditingState(true);
this.#enableAll();
this.unselectAll();
for (const layer of this.#allLayers.values()) {
layer.updateMode(mode);
}