Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
server
team-presentation
Commits
67507ccb
Commit
67507ccb
authored
May 16, 2017
by
Hakim El Hattab
Browse files
controlsHints -> controlsTutorial
parent
9e013ccb
Changes
2
Show whitespace changes
Inline
Side-by-side
README.md
View file @
67507ccb
...
...
@@ -184,9 +184,9 @@ Reveal.initialize({
// Display presentation control arrows
controls
:
true
,
// H
int at where the user can navigate
, for example by
animating
// the down arrow when
we
first encounter a vertical slide
controls
Hints
:
true
,
// H
elp the user learn the controls by providing hints
, for example by
//
bouncing
the down arrow when
they
first encounter a vertical slide
controls
Tutorial
:
true
,
// Determines where controls appear, "edges" or "bottom-right"
controlsLayout
:
'
bottom-right
'
,
...
...
js/reveal.js
View file @
67507ccb
...
...
@@ -52,9 +52,9 @@
// Display presentation control arrows
controls
:
true
,
// H
int at where the user can navigate
, for example by
animating
// the down arrow when
we
first encounter a vertical slide
controls
Hints
:
true
,
// H
elp the user learn the controls by providing hints
, for example by
//
bouncing
the down arrow when
they
first encounter a vertical slide
controls
Tutorial
:
true
,
// Determines where controls appear, "edges" or "bottom-right"
controlsLayout
:
'
bottom-right
'
,
...
...
@@ -2917,7 +2917,7 @@
}
if
(
config
.
controls
Hints
)
{
if
(
config
.
controls
Tutorial
)
{
// 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
&&
index
h
===
0
)
{
if
(
!
hasNavigatedRight
&&
routes
.
right
&&
index
v
===
0
)
{
dom
.
controlsRightArrow
.
classList
.
add
(
'
highlight
'
);
}
else
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment