Merge pull request #379 from srcn/master

Add shift+space support for keyboard
This commit is contained in:
Jun 2015-08-17 21:43:02 +09:00
commit 272bb4983a

View File

@ -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;