Browse Source

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

pull/7015/head
Andrew Kingston 4 years ago
parent
commit
b75e53b50a
  1. 2
      packages/builder/src/pages/builder/app/[application]/design/[screenId]/components/[componentId]/_components/navigation/ComponentListPanel.svelte

2
packages/builder/src/pages/builder/app/[application]/design/[screenId]/components/[componentId]/_components/navigation/ComponentListPanel.svelte

@ -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…
Cancel
Save