Merge pull request #15381 from calixteman/rm_leftover
[Editor] Remove some useless code (#15373 follow-up)
This commit is contained in:
commit
3043423c82
@ -580,11 +580,7 @@ class AnnotationEditorUIManager {
|
|||||||
* @param {Object} details
|
* @param {Object} details
|
||||||
*/
|
*/
|
||||||
onEditingAction(details) {
|
onEditingAction(details) {
|
||||||
if (
|
if (["undo", "redo", "delete", "selectAll"].includes(details.name)) {
|
||||||
["undo", "redo", "cut", "copy", "paste", "delete", "selectAll"].includes(
|
|
||||||
details.name
|
|
||||||
)
|
|
||||||
) {
|
|
||||||
this[details.name]();
|
this[details.name]();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user