add comment for background fix
This commit is contained in:
parent
ec4eeab478
commit
50580c37c2
1 changed files with 3 additions and 1 deletions
|
|
@ -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 );
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue