Merge pull request #20388 from calixteman/bug1995705

[Editor] Avoid to have several Undo entries in the context menu (bug 1995705)
This commit is contained in:
calixteman 2025-10-23 09:01:19 +02:00 committed by GitHub
commit 638861008f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1537,12 +1537,12 @@ class AnnotationEditorUIManager {
addEditListeners() {
this.#addKeyboardManager();
this.#addCopyPasteListeners();
this.setEditingState(true);
}
removeEditListeners() {
this.#removeKeyboardManager();
this.#removeCopyPasteListeners();
this.setEditingState(false);
}
dragOver(event) {