mirror of
https://github.com/Noratrieb/slides.git
synced 2026-01-15 17:05:06 +01:00
fix bug that caused vertical stacks to shift unexpectedly in overview (closes #122)
This commit is contained in:
parent
efc020c999
commit
5bd5ac67a4
3 changed files with 5 additions and 4 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue