Swap alt for ctrl/meta key

main
Talon 2024-08-30 16:19:47 +02:00
parent 1f82842293
commit 0e90614009
1 changed files with 1 additions and 1 deletions

View File

@ -581,7 +581,7 @@ export class MainView extends View {
}
private handleHotkey(e: KeyboardEvent) {
if (e.altKey) {
if (e.ctrlKey || e.metaKey) {
const action = this.hotkeyMap.get(e.key);
if (action) {
e.preventDefault();