mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #19101 from overleaf/dp-presentation-additional-keys
Add PageUp/PageDown/Backspace options for presentation page navigation GitOrigin-RevId: 59b8c3b22ff205c8fe1009c120358c913db3cbe5
This commit is contained in:
parent
b2e3002992
commit
62c432b997
1 changed files with 3 additions and 0 deletions
|
@ -51,11 +51,14 @@ export default function usePresentationMode(
|
|||
switch (event.key) {
|
||||
case 'ArrowLeft':
|
||||
case 'ArrowUp':
|
||||
case 'PageUp':
|
||||
case 'Backspace':
|
||||
previousPage()
|
||||
break
|
||||
|
||||
case 'ArrowRight':
|
||||
case 'ArrowDown':
|
||||
case 'PageDown':
|
||||
nextPage()
|
||||
break
|
||||
|
||||
|
|
Loading…
Reference in a new issue