add shift+space support for keyboard
This commit is contained in:
parent
b1d7aa0e64
commit
f200bea4cc
@ -80,6 +80,12 @@ function bindKeyboardHandler(element, i) {
|
|||||||
deltaY = 90;
|
deltaY = 90;
|
||||||
break;
|
break;
|
||||||
case 32: // space bar
|
case 32: // space bar
|
||||||
|
if (e.shiftKey) {
|
||||||
|
deltaY = 90;
|
||||||
|
} else {
|
||||||
|
deltaY = -90;
|
||||||
|
}
|
||||||
|
break;
|
||||||
case 34: // page down
|
case 34: // page down
|
||||||
deltaY = -90;
|
deltaY = -90;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user