mirror of
https://github.com/Noratrieb/slides.git
synced 2026-01-14 16:35:07 +01:00
Merge branch 'dev' into jh/print-optimize
This commit is contained in:
commit
acafabf023
18 changed files with 12826 additions and 2448 deletions
|
|
@ -50,6 +50,12 @@ export default class Print {
|
|||
await new Promise(requestAnimationFrame);
|
||||
this.Reveal.layoutSlideContents( slideWidth, slideHeight );
|
||||
|
||||
slides.forEach( function( slide ) {
|
||||
// Re-run the slide layout so that r-fit-text is applied based on
|
||||
// the printed slide size
|
||||
this.Reveal.slideContent.layout( slide );
|
||||
});
|
||||
|
||||
// Batch scrollHeight access to prevent layout thrashing
|
||||
await new Promise(requestAnimationFrame);
|
||||
const slideScrollHeights = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue