Swap alt for ctrl/meta key
This commit is contained in:
@@ -581,7 +581,7 @@ export class MainView extends View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private handleHotkey(e: KeyboardEvent) {
|
private handleHotkey(e: KeyboardEvent) {
|
||||||
if (e.altKey) {
|
if (e.ctrlKey || e.metaKey) {
|
||||||
const action = this.hotkeyMap.get(e.key);
|
const action = this.hotkeyMap.get(e.key);
|
||||||
if (action) {
|
if (action) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
Reference in New Issue
Block a user