fix rotues check when loop is active
This commit is contained in:
parent
d5bf12275c
commit
3bae233289
2 changed files with 4 additions and 4 deletions
|
@ -1324,8 +1324,8 @@ var Reveal = (function(){
|
||||||
verticalSlides = document.querySelectorAll( VERTICAL_SLIDES_SELECTOR );
|
verticalSlides = document.querySelectorAll( VERTICAL_SLIDES_SELECTOR );
|
||||||
|
|
||||||
return {
|
return {
|
||||||
left: indexh > 0,
|
left: indexh > 0 || config.loop,
|
||||||
right: indexh < horizontalSlides.length - 1,
|
right: indexh < horizontalSlides.length - 1 || config.loop,
|
||||||
up: indexv > 0,
|
up: indexv > 0,
|
||||||
down: indexv < verticalSlides.length - 1
|
down: indexv < verticalSlides.length - 1
|
||||||
};
|
};
|
||||||
|
|
4
js/reveal.min.js
vendored
4
js/reveal.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue