This commit is contained in:
zsviczian
2023-07-22 22:18:05 +02:00
parent a5fdf6efbb
commit d914bd0678
13 changed files with 76 additions and 34 deletions

View File

@@ -108,4 +108,8 @@ export const emulateKeysForLinkClick = (action: PaneTarget): ModifierKeys => {
break;
}
return ev;
}
export const anyModifierKeysPressed = (e: ModifierKeys): boolean => {
return e.shiftKey || e.ctrlKey || e.metaKey || e.altKey;
}