Merge pull request #8368 from felcaetano/enable-change-slides-with-page-up-down

Swapping PAGE_UP and PAGE_DOWN key bindings
This commit is contained in:
Anton Georgiev 2019-11-26 17:13:34 -05:00 committed by GitHub
commit c7c29e37e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,11 +104,11 @@ class PresentationToolbar extends PureComponent {
if (isBody) {
switch (which) {
case KEY_CODES.ARROW_LEFT:
case KEY_CODES.PAGE_DOWN:
case KEY_CODES.PAGE_UP:
this.previousSlideHandler();
break;
case KEY_CODES.ARROW_RIGHT:
case KEY_CODES.PAGE_UP:
case KEY_CODES.PAGE_DOWN:
this.nextSlideHandler();
break;
default: