mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Merge pull request #2926 from yurydelendik/shift-zoom
Adds optional Shift for zoom keybindings
This commit is contained in:
commit
c11a8a6e42
1 changed files with 2 additions and 1 deletions
|
@ -3306,7 +3306,8 @@ window.addEventListener('keydown', function keydown(evt) {
|
|||
|
||||
// First, handle the key bindings that are independent whether an input
|
||||
// control is selected or not.
|
||||
if (cmd == 1 || cmd == 8) { // either CTRL or META key.
|
||||
if (cmd === 1 || cmd === 8 || cmd === 5 || cmd === 12) {
|
||||
// either CTRL or META key with optional SHIFT.
|
||||
switch (evt.keyCode) {
|
||||
case 70:
|
||||
if (!PDFView.supportsIntegratedFind) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue