adjust list of displayed key shortcuts #943

This commit is contained in:
Hakim El Hattab
2014-06-09 17:53:14 +02:00
parent 9ff00a72ae
commit 645734832d
2 changed files with 15 additions and 13 deletions

View File

@ -200,16 +200,17 @@
// Holds information about the keyboard shortcuts
keyboardShortcuts = {
'P': 'Previous slide',
'N': 'Next slide',
'H': 'Navigate left',
'L': 'Navigate right',
'K': 'Navigate up',
'J': 'Navigate down',
'Home': 'First slide',
'End': 'Last slide',
'b': 'Pause',
'f': 'Fullscreen'
'N , SPACE': 'Next slide',
'P': 'Previous slide',
'← , H': 'Navigate left',
'→ , L': 'Navigate right',
'↑ , K': 'Navigate up',
'↓ , J': 'Navigate down',
'Home': 'First slide',
'End': 'Last slide',
'B , .': 'Pause',
'F': 'Fullscreen',
'ESC, O': 'Slide overview'
};
/**
@ -1319,7 +1320,6 @@
function closeOverlay() {
if( dom.overlay ) {
dom.overlay.setAttribute( 'src', '' );
dom.overlay.parentNode.removeChild( dom.overlay );
dom.overlay = null;
}