Pure node rendering (#443)
This commit is contained in:
committed by
GitHub
parent
5ce5e5ac1e
commit
7f6e1f420e
@ -1,5 +1,5 @@
|
||||
import { Action } from "./types";
|
||||
import { META_KEY } from "../keys";
|
||||
import { KEYS } from "../keys";
|
||||
|
||||
export const actionSelectAll: Action = {
|
||||
name: "selectAll",
|
||||
@ -9,5 +9,5 @@ export const actionSelectAll: Action = {
|
||||
};
|
||||
},
|
||||
contextItemLabel: "Select All",
|
||||
keyTest: event => event[META_KEY] && event.code === "KeyA"
|
||||
keyTest: event => event[KEYS.META] && event.code === "KeyA"
|
||||
};
|
||||
|
Reference in New Issue
Block a user