aboutsummaryrefslogtreecommitdiff
path: root/beamer
diff options
context:
space:
mode:
authoreuxane2024-03-21 19:05:18 +0100
committereuxane2024-03-21 19:05:18 +0100
commit60f63f40e61ef1c3d529b6d251b238cd2113e2a0 (patch)
treee66a0ad6f3332f04b64a1e237383bb79d67b0393 /beamer
parente16fc2eeae41e79e112baa909d6df3374711af1f (diff)
downloadbeamer-viewer-60f63f40e61ef1c3d529b6d251b238cd2113e2a0.tar.gz
actions: handle page up/down keys
Diffstat (limited to 'beamer')
-rw-r--r--beamer/viewer/stage/actions.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/beamer/viewer/stage/actions.js b/beamer/viewer/stage/actions.js
index e485998..818e970 100644
--- a/beamer/viewer/stage/actions.js
+++ b/beamer/viewer/stage/actions.js
@@ -24,11 +24,13 @@ class KeyboardEventHandler extends ActionEventHandler {
24 case " ": 24 case " ":
25 case "ArrowRight": 25 case "ArrowRight":
26 case "ArrowDown": 26 case "ArrowDown":
27 case "PageDown":
27 case "n": 28 case "n":
28 return this.onNext(); 29 return this.onNext();
29 30
30 case "ArrowLeft": 31 case "ArrowLeft":
31 case "ArrowUp": 32 case "ArrowUp":
33 case "PageUp":
32 case "p": 34 case "p":
33 return this.onPrevious(); 35 return this.onPrevious();
34 } 36 }