mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-08 07:36:39 +02:00
add comment for background fix
This commit is contained in:
@@ -77,7 +77,9 @@ export default class ScrollView {
|
|||||||
page.className = 'scroll-page';
|
page.className = 'scroll-page';
|
||||||
pageElements.push( page );
|
pageElements.push( page );
|
||||||
|
|
||||||
// If
|
// This transfers over the background of the vertical stack containing
|
||||||
|
// the slide if it exists. Otherwise, it uses the presentation-wide
|
||||||
|
// background.
|
||||||
if( slideBackgrounds && slideBackgrounds.length > h ) {
|
if( slideBackgrounds && slideBackgrounds.length > h ) {
|
||||||
const slideBackground = slideBackgrounds[h];
|
const slideBackground = slideBackgrounds[h];
|
||||||
const pageBackground = window.getComputedStyle( slideBackground );
|
const pageBackground = window.getComputedStyle( slideBackground );
|
||||||
|
Reference in New Issue
Block a user