Commit 30f2af0a authored by Hakim El Hattab's avatar Hakim El Hattab Committed by GitHub
Browse files

Merge pull request #1844 from riezebosch/pdf-print-stretch

print-pdf layout slide contents to fit stretch elements
parents 8ec5e000 34f3773b
......@@ -633,6 +633,9 @@ = pageWidth + 'px'; = 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 ) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment