Merge pull request #379 from srcn/master
Add shift+space support for keyboard
This commit is contained in:
commit
272bb4983a
@ -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