1
0
mirror of https://github.com/webslides/WebSlides.git synced 2025-09-01 09:03:04 +02:00

Shift + Space should go backwards

#96
This commit is contained in:
Antonio Laguna
2017-09-16 19:37:24 +02:00
parent 8b19bd28f6
commit 8912d05d70
2 changed files with 32 additions and 8 deletions

View File

@@ -35,9 +35,15 @@ export default class Keyboard {
switch (event.which) {
case Keys.AV_PAGE:
case Keys.SPACE:
method = this.ws_.goNext;
break;
case Keys.SPACE:
if (event.shiftKey) {
method = this.ws_.goPrev;
} else {
method = this.ws_.goNext;
}
break;
case Keys.RE_PAGE:
method = this.ws_.goPrev;
break;