mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-14 00:24: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
|
* @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 isPanningEnabled = ref(false);
|
||||||
const selectionKeyCode = ref<true | null>(true);
|
const selectionKeyCode = ref<true | null>(true);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue