Merge pull request #10358 from tsilvap/toggle-sidebar-keybinding
Add keyboard shortcut to toggle sidebar (F4, same as Adobe Reader).
This commit is contained in:
commit
bc465695d5
@ -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…
Reference in New Issue
Block a user