mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-13 16:14:07 -08:00
fix: add Meta key to panning activator key codes on new canvas
This commit is contained in:
parent
60cdf0ba44
commit
4e59b6e547
|
@ -145,7 +145,7 @@ const disableKeyBindings = computed(() => !props.keyBindings);
|
|||
* @see https://developer.mozilla.org/en-US/docs/Web/API/UI_Events/Keyboard_event_key_values#whitespace_keys
|
||||
*/
|
||||
|
||||
const panningKeyCode = ' ';
|
||||
const panningKeyCode = [' ', 'Meta'];
|
||||
const isPanningEnabled = ref(false);
|
||||
const selectionKeyCode = ref<true | null>(true);
|
||||
|
||||
|
|
Loading…
Reference in a new issue