Skip to content

Commit

Permalink
use enter key as arrow_down for changeDirectionKey function.
Browse files Browse the repository at this point in the history
  • Loading branch information
dextromethorphanum committed Jul 3, 2023
1 parent 9ef3f99 commit 94705dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/overlay/keyboard.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ export class KeyboardService {
switch (e.code) {
case codesLetter.ARROW_UP:
return { changes: { y: -1 }, isMulti };
case codesLetter.ENTER:
case codesLetter.ARROW_DOWN:
return { changes: { y: 1 }, isMulti };
case codesLetter.ARROW_LEFT:
Expand Down

0 comments on commit 94705dd

Please sign in to comment.