|
@@ -51,11 +51,11 @@ var Reveal = (function(){
|
|
|
|
|
|
rollingLinks: true,
|
|
|
|
|
|
-
|
|
|
+
|
|
|
theme: null,
|
|
|
|
|
|
|
|
|
- transition: 'default',
|
|
|
+ transition: 'default',
|
|
|
|
|
|
|
|
|
dependencies: []
|
|
@@ -106,6 +106,9 @@ var Reveal = (function(){
|
|
|
|
|
|
activateOverviewTimeout = 0,
|
|
|
|
|
|
+
|
|
|
+ deactivateOverviewTimeout = 0,
|
|
|
+
|
|
|
|
|
|
touch = {
|
|
|
startX: 0,
|
|
@@ -583,8 +586,9 @@ var Reveal = (function(){
|
|
|
if( config.overview ) {
|
|
|
|
|
|
dom.wrapper.classList.add( 'overview' );
|
|
|
-
|
|
|
+ dom.wrapper.classList.remove( 'exit-overview' );
|
|
|
clearTimeout( activateOverviewTimeout );
|
|
|
+ clearTimeout( deactivateOverviewTimeout );
|
|
|
|
|
|
|
|
|
|
|
@@ -655,8 +659,16 @@ var Reveal = (function(){
|
|
|
if( config.overview ) {
|
|
|
|
|
|
clearTimeout( activateOverviewTimeout );
|
|
|
+ clearTimeout( deactivateOverviewTimeout );
|
|
|
|
|
|
dom.wrapper.classList.remove( 'overview' );
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ dom.wrapper.classList.add( 'exit-overview' );
|
|
|
+ deactivateOverviewTimeout = setTimeout( function () {
|
|
|
+ dom.wrapper.classList.remove( 'exit-overview' );
|
|
|
+ }, 10);
|
|
|
|
|
|
|
|
|
var slides = toArray( document.querySelectorAll( SLIDES_SELECTOR ) );
|