|
@@ -620,6 +620,9 @@
|
|
|
document.body.style.width = pageWidth + 'px';
|
|
|
document.body.style.height = pageHeight + 'px';
|
|
|
|
|
|
+ // Make sure stretch elements fit on slide
|
|
|
+ layoutSlideContents(slideWidth, slideHeight);
|
|
|
+
|
|
|
// Add each slide's index as attributes on itself, we need these
|
|
|
// indices to generate slide numbers below
|
|
|
toArray( dom.wrapper.querySelectorAll( HORIZONTAL_SLIDES_SELECTOR ) ).forEach( function( hslide, h ) {
|