Merge pull request #4243 from matrix-org/t3chguy/shortcuts2
Register Mac electron specific Cmd+, shortcut to User Settings
This commit is contained in:
commit
791e406129
1 changed files with 4 additions and 0 deletions
|
@ -313,3 +313,7 @@ export const toggleDialog = () => {
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export const registerShortcut = (category: Categories, defn: IShortcut) => {
|
||||||
|
shortcuts[category].push(defn);
|
||||||
|
};
|
||||||
|
|
Loading…
Reference in a new issue