Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
Merge pull request #393 from keevan/master
Browse files Browse the repository at this point in the history
Update keyboard assist to support Vim keybindings
  • Loading branch information
peterpeterparker committed Oct 5, 2019
2 parents af8c182 + c905d98 commit cfe26f1
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -187,9 +187,9 @@ export class DeckdeckgoDeck {
return;
}

if ($event.key === 'ArrowLeft') {
if (['ArrowLeft', 'k'].indexOf($event.key) !== -1) {
await this.slideNextPrev(false, true);
} else if ($event.key === 'ArrowRight') {
} else if (['ArrowRight', 'j'].indexOf($event.key) !== -1) {
await this.slideNextPrev(true, true);
}
};
Expand Down

0 comments on commit cfe26f1

Please sign in to comment.