diff --git a/js/controllers/scrollview.js b/js/controllers/scrollview.js index 063f72c8..40d6bfff 100644 --- a/js/controllers/scrollview.js +++ b/js/controllers/scrollview.js @@ -77,7 +77,9 @@ export default class ScrollView { page.className = 'scroll-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 ) { const slideBackground = slideBackgrounds[h]; const pageBackground = window.getComputedStyle( slideBackground );