diff options
author | Hakim El Hattab | 2012-08-17 00:40:12 -0400 |
---|---|---|
committer | Hakim El Hattab | 2012-08-17 00:40:12 -0400 |
commit | 5bd5ac67a4ddab7e5b2b1cb36b41be02a8a741e9 (patch) | |
tree | bb0ef4e085acbcf4253d33de54c4a30e4a633a8d /js/reveal.js | |
parent | efc020c999a50864c9ee55948e8222b6c2c6a0f5 (diff) |
fix bug that caused vertical stacks to shift unexpectedly in overview (closes #122)
Diffstat (limited to 'js/reveal.js')
-rw-r--r-- | js/reveal.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/reveal.js b/js/reveal.js index 3980416..322d06e 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -1,5 +1,5 @@ /*! - * reveal.js 2.0 r18 + * reveal.js 2.0 r19 * http://lab.hakim.se/reveal-js * MIT licensed * @@ -544,7 +544,7 @@ var Reveal = (function(){ for( var j = 0, len2 = verticalSlides.length; j < len2; j++ ) { var vslide = verticalSlides[j], - vtransform = 'translate(0%, ' + ( ( j - indexv ) * 105 ) + '%)'; + vtransform = 'translate(0%, ' + ( ( j - ( i === indexh ? indexv : 0 ) ) * 105 ) + '%)'; vslide.setAttribute( 'data-index-h', i ); vslide.setAttribute( 'data-index-v', j ); |