diff --git a/js/reveal.js b/js/reveal.js index 04b8ff5f..087d9ca1 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -193,7 +193,7 @@ // Default settings for or auto-animate transitions, can be // overridden per-slide via data arguments autoAnimateEasing: 'ease', - autoAnimateDuration: 0.7, + autoAnimateDuration: 1.0, // CSS styles that auto-animations will animate between autoAnimateStyles: [ @@ -3893,7 +3893,7 @@ to.style[propertyName] = toProps[propertyName]; } ); - }, 1 ); + }, 0 ); } diff --git a/test/examples/auto-animate.html b/test/examples/auto-animate.html index 3ae23c73..3b5a96be 100644 --- a/test/examples/auto-animate.html +++ b/test/examples/auto-animate.html @@ -19,19 +19,46 @@
+

Fade and slide

Opacity 1.0

-
+
+

Fade and slide

Opacity 0.2

-

Text props

+

Text props

Text props

+
+

Swapping list items

+
    +
  • One
  • +
  • Two
  • +
  • Three
  • +
+
+
+

Swapping list items

+
    +
  • Two
  • +
  • One
  • +
  • Three
  • +
+
+
+

Swapping list items

+
    +
  • Two
  • +
  • Three
  • +
  • One
  • +
+
+

SLIDE 1

Animate Anything