Pure node rendering (#443)

This commit is contained in:
Christopher Chedeau 2020-01-19 13:21:33 -08:00 committed by GitHub
parent 5ce5e5ac1e
commit 7f6e1f420e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 647 additions and 84 deletions

View file

@ -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"
};