Swap alt for ctrl/meta key

This commit is contained in:
2024-08-30 16:19:47 +02:00
parent 1f82842293
commit 0e90614009

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();