Allow use of meta key as well as control key for modifier shortcuts
This commit is contained in:
parent
530b6940d4
commit
b75e53b50a
|
@ -89,7 +89,7 @@
|
||||||
}
|
}
|
||||||
const component = get(selectedComponent)
|
const component = get(selectedComponent)
|
||||||
try {
|
try {
|
||||||
if (e.ctrlKey) {
|
if (e.ctrlKey || e.metaKey) {
|
||||||
if (e.key === "ArrowUp") {
|
if (e.key === "ArrowUp") {
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
await store.actions.components.moveUp(component)
|
await store.actions.components.moveUp(component)
|
||||||
|
|
Loading…
Reference in New Issue