Commit 67507ccb authored by Hakim El Hattab's avatar Hakim El Hattab
Browse files

controlsHints -> controlsTutorial

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