Allow use of meta key as well as control key for modifier shortcuts
This commit is contained in:
parent
a91c043c4b
commit
ac5fe23412
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue