diff options
author | pacien | 2023-05-23 12:36:01 +0200 |
---|---|---|
committer | pacien | 2023-05-23 12:36:01 +0200 |
commit | 8869dd41e446d54e82490966fbc320e6c0120a6d (patch) | |
tree | 24e397284e5836a6aeecea9ad05ff0e53ab92b45 /beamer/viewer/stage | |
parent | e08e7ec35c4e1436785a27c7f1fccae4a7ec202a (diff) | |
download | beamer-viewer-8869dd41e446d54e82490966fbc320e6c0120a6d.tar.gz |
actions: register up and down arrows for switching slides
Diffstat (limited to 'beamer/viewer/stage')
-rw-r--r-- | beamer/viewer/stage/actions.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/beamer/viewer/stage/actions.js b/beamer/viewer/stage/actions.js index 601a441..30634ae 100644 --- a/beamer/viewer/stage/actions.js +++ b/beamer/viewer/stage/actions.js | |||
@@ -38,10 +38,12 @@ class KeyboardEventHandler extends ActionEventHandler { | |||
38 | case "Enter": | 38 | case "Enter": |
39 | case " ": | 39 | case " ": |
40 | case "ArrowRight": | 40 | case "ArrowRight": |
41 | case "ArrowDown": | ||
41 | case "n": | 42 | case "n": |
42 | return this.onNext(); | 43 | return this.onNext(); |
43 | 44 | ||
44 | case "ArrowLeft": | 45 | case "ArrowLeft": |
46 | case "ArrowUp": | ||
45 | case "p": | 47 | case "p": |
46 | return this.onPrevious(); | 48 | return this.onPrevious(); |
47 | } | 49 | } |