Merge pull request #2926 from yurydelendik/shift-zoom
Adds optional Shift for zoom keybindings
This commit is contained in:
commit
c11a8a6e42
@ -3306,7 +3306,8 @@ window.addEventListener('keydown', function keydown(evt) {
|
|||||||
|
|
||||||
// First, handle the key bindings that are independent whether an input
|
// First, handle the key bindings that are independent whether an input
|
||||||
// control is selected or not.
|
// 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) {
|
switch (evt.keyCode) {
|
||||||
case 70:
|
case 70:
|
||||||
if (!PDFView.supportsIntegratedFind) {
|
if (!PDFView.supportsIntegratedFind) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user