Skip to content

Commit

Permalink
integrated the hotkey handler to the right ctrl & shift keys
Browse files Browse the repository at this point in the history
  • Loading branch information
Rondev9 committed Nov 6, 2023
1 parent e7cd3c3 commit e107739
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ui/hotkeys.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ export function getHotKeys(hk) {
ShiftRight: {
onkeydown() {
hk.pressShiftKeyDown();
hk.handleKeyDown(event);
},
onkeyup() {
hk.pressShiftKeyUp();
Expand All @@ -277,6 +278,7 @@ export function getHotKeys(hk) {
ControlRight: {
onkeydown() {
hk.pressControlKeyDown();
hk.handleKeyDown(event);
},
onkeyup() {
hk.pressControlKeyUp();
Expand Down

0 comments on commit e107739

Please sign in to comment.