merge vertical centering for individual slides

This commit is contained in:
Hakim El Hattab
2013-10-27 15:44:26 -04:00
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1108,7 +1108,7 @@ var Reveal = (function(){
continue; continue;
} }
if( config.center ) { if( config.center || slide.classList.contains( 'center' ) ) {
// Vertical stacks are not centred since their section // Vertical stacks are not centred since their section
// children will be // children will be
if( slide.classList.contains( 'stack' ) ) { if( slide.classList.contains( 'stack' ) ) {
+2 -2
View File
File diff suppressed because one or more lines are too long