🤦
This commit is contained in:
parent
cd5c9c5b9d
commit
61624aeafb
3 changed files with 4 additions and 4 deletions
2
dist/reveal.esm.js
vendored
2
dist/reveal.esm.js
vendored
File diff suppressed because one or more lines are too long
2
dist/reveal.js
vendored
2
dist/reveal.js
vendored
File diff suppressed because one or more lines are too long
|
@ -422,8 +422,8 @@ export default function( revealElement, options ) {
|
||||||
dom.wrapper.setAttribute( 'data-background-transition', config.backgroundTransition );
|
dom.wrapper.setAttribute( 'data-background-transition', config.backgroundTransition );
|
||||||
|
|
||||||
// Expose our configured slide dimensions as custom props
|
// Expose our configured slide dimensions as custom props
|
||||||
dom.viewport.style.setProperty( '--size-width', config.width + 'px' );
|
dom.viewport.style.setProperty( '--slide-width', config.width + 'px' );
|
||||||
dom.viewport.style.setProperty( '--size-height', config.height + 'px' );
|
dom.viewport.style.setProperty( '--slide-height', config.height + 'px' );
|
||||||
|
|
||||||
if( config.shuffle ) {
|
if( config.shuffle ) {
|
||||||
shuffle();
|
shuffle();
|
||||||
|
|
Loading…
Reference in a new issue