home/end listeners for the first/last slide navigation (fn+left/right on Mac)
This commit is contained in:
parent
b08f1604c6
commit
9243cdf0ff
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue