Skip to content

Commit

Permalink
feat(ui): support for PowerPoint shortcuts in presentation mode (#993)
Browse files Browse the repository at this point in the history
  • Loading branch information
Niikelion committed Mar 14, 2024
1 parent 7ccc1c3 commit 570f729
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export function PresentationControls() {
event.preventDefault();
presenter.resume();
break;
case 'PageUp':
case 'ArrowLeft':
event.preventDefault();
if (event.shiftKey) {
Expand All @@ -44,6 +45,7 @@ export function PresentationControls() {
}
presenter.requestPreviousSlide();
break;
case 'PageDown':
case 'ArrowRight':
event.preventDefault();
if (event.shiftKey) {
Expand Down

0 comments on commit 570f729

Please sign in to comment.