home/end listeners for the first/last slide navigation (fn+left/right on Mac)

This commit is contained in:
Vadim Makeev 2011-04-25 04:41:47 +04:00
parent b08f1604c6
commit 9243cdf0ff
1 changed files with 6 additions and 0 deletions

View File

@ -42,6 +42,12 @@
case 39 : // Right case 39 : // Right
current++; current++;
break; break;
case 36 : // Home
current = 0;
break;
case 35 : // End
current = slideList.length-1;
break;
case 32 : // Space case 32 : // Space
current += e.shiftKey ? -1 : 1; current += e.shiftKey ? -1 : 1;
break; break;