Added keybindings for commandbar (#3854)
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
This commit is contained in:
parent
e7e46590a4
commit
13eaff156a
2 changed files with 11 additions and 0 deletions
|
@ -89,3 +89,7 @@ export const hasPressedArrowUpKey = e => {
|
|||
export const hasPressedArrowDownKey = e => {
|
||||
return e.keyCode === 40;
|
||||
};
|
||||
|
||||
export const hasPressedCommandPlusKKey = e => {
|
||||
return e.metaKey && e.keyCode === 75;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue