Skip to content

Commit

Permalink
fix bug that caused vertical stacks to shift unexpectedly in overview (
Browse files Browse the repository at this point in the history
…closes #122)
hakimel committed Aug 17, 2012
1 parent efc020c commit 5bd5ac6
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions css/main.css
Original file line number Diff line number Diff line change
@@ -259,6 +259,7 @@ body {
}

.reveal .controls a {
font-family: Arial;
font-size: 0.83em;
position: absolute;
opacity: 0.1;
4 changes: 2 additions & 2 deletions js/reveal.js
Original file line number Diff line number Diff line change
@@ -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 );
4 changes: 2 additions & 2 deletions js/reveal.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5bd5ac6

Please sign in to comment.