Swap alt for ctrl/meta key
parent
1f82842293
commit
0e90614009
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue