Swapping PAGE_UP and PAGE_DOWN key bindings

Swapping the keys as requested by @kaitkrull  to fit most of the remotes.
This commit is contained in:
felcaetano 2019-11-26 19:00:28 -03:00 committed by GitHub
parent 83c1cba273
commit e13cf362b2
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) { if (isBody) {
switch (which) { switch (which) {
case KEY_CODES.ARROW_LEFT: case KEY_CODES.ARROW_LEFT:
case KEY_CODES.PAGE_DOWN: case KEY_CODES.PAGE_UP:
this.previousSlideHandler(); this.previousSlideHandler();
break; break;
case KEY_CODES.ARROW_RIGHT: case KEY_CODES.ARROW_RIGHT:
case KEY_CODES.PAGE_UP: case KEY_CODES.PAGE_DOWN:
this.nextSlideHandler(); this.nextSlideHandler();
break; break;
default: default: