controlsHints -> controlsTutorial

This commit is contained in:
Hakim El Hattab 2017-05-16 15:40:50 +02:00
parent 9e013ccbb2
commit 67507ccb9d
2 changed files with 8 additions and 8 deletions

View file

@ -184,9 +184,9 @@ Reveal.initialize({
// Display presentation control arrows
controls: true,
// Hint at where the user can navigate, for example by animating
// the down arrow when we first encounter a vertical slide
controlsHints: true,
// Help the user learn the controls by providing hints, for example by
// bouncing the down arrow when they first encounter a vertical slide
controlsTutorial: true,
// Determines where controls appear, "edges" or "bottom-right"
controlsLayout: 'bottom-right',

View file

@ -52,9 +52,9 @@
// Display presentation control arrows
controls: true,
// Hint at where the user can navigate, for example by animating
// the down arrow when we first encounter a vertical slide
controlsHints: true,
// Help the user learn the controls by providing hints, for example by
// bouncing the down arrow when they first encounter a vertical slide
controlsTutorial: true,
// Determines where controls appear, "edges" or "bottom-right"
controlsLayout: 'bottom-right',
@ -2917,7 +2917,7 @@
}
if( config.controlsHints ) {
if( config.controlsTutorial ) {
// Highlight control arrows with an animation to ensure
// that the viewer knows how to navigate
@ -2927,7 +2927,7 @@
else {
dom.controlsDownArrow.classList.remove( 'highlight' );
if( !hasNavigatedRight && routes.right && indexh === 0 ) {
if( !hasNavigatedRight && routes.right && indexv === 0 ) {
dom.controlsRightArrow.classList.add( 'highlight' );
}
else {