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:
commit
638861008f
@ -1537,12 +1537,12 @@ class AnnotationEditorUIManager {
|
|||||||
|
|
||||||
addEditListeners() {
|
addEditListeners() {
|
||||||
this.#addKeyboardManager();
|
this.#addKeyboardManager();
|
||||||
this.#addCopyPasteListeners();
|
this.setEditingState(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
removeEditListeners() {
|
removeEditListeners() {
|
||||||
this.#removeKeyboardManager();
|
this.#removeKeyboardManager();
|
||||||
this.#removeCopyPasteListeners();
|
this.setEditingState(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
dragOver(event) {
|
dragOver(event) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user