Allow use of meta key as well as control key for modifier shortcuts

This commit is contained in:
Andrew Kingston 2022-08-02 10:01:46 +01:00
parent 530b6940d4
commit b75e53b50a
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@
}
const component = get(selectedComponent)
try {
if (e.ctrlKey) {
if (e.ctrlKey || e.metaKey) {
if (e.key === "ArrowUp") {
e.preventDefault()
await store.actions.components.moveUp(component)