1
0
Fork 0

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

@ -1741,18 +1741,20 @@ body {
transform: scale(0.2); transform: scale(0.2);
} }
.reveal .overlay.overlay-help .viewport {
overflow: auto;
}
.reveal .overlay.overlay-help .viewport .viewport-inner { .reveal .overlay.overlay-help .viewport .viewport-inner {
width: 600px; width: 600px;
height: 100%;
margin: 0 auto; margin: 0 auto;
padding: 60px;
text-align: center; text-align: center;
letter-spacing: normal; letter-spacing: normal;
} }
.reveal .overlay.overlay-help .viewport .viewport-inner .title { .reveal .overlay.overlay-help .viewport .viewport-inner .title {
font-size: 20px; font-size: 20px;
margin-top: 60px;
} }
.reveal .overlay.overlay-help .viewport .viewport-inner table { .reveal .overlay.overlay-help .viewport .viewport-inner table {

View File

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