From b75e53b50aab1155e1f554047ecabfc509ef6cb6 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 2 Aug 2022 10:01:46 +0100 Subject: [PATCH] Allow use of meta key as well as control key for modifier shortcuts --- .../_components/navigation/ComponentListPanel.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/components/[componentId]/_components/navigation/ComponentListPanel.svelte b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/components/[componentId]/_components/navigation/ComponentListPanel.svelte index 484ac68ec4..ec01c62907 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/components/[componentId]/_components/navigation/ComponentListPanel.svelte +++ b/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)