mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Add keyboard shortcut to toggle sidebar
This commit is contained in:
parent
e716038b12
commit
2abea7d7c2
1 changed files with 4 additions and 0 deletions
|
@ -2313,6 +2313,10 @@ function webViewerKeyDown(evt) {
|
|||
case 82: // 'r'
|
||||
PDFViewerApplication.rotatePages(90);
|
||||
break;
|
||||
|
||||
case 115: // F4
|
||||
PDFViewerApplication.pdfSidebar.toggle();
|
||||
break;
|
||||
}
|
||||
|
||||
if (turnPage !== 0 &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue