reader mode -> scroll view, auto-enable below 435px width

This commit is contained in:
Hakim El Hattab 2023-10-25 13:58:06 +02:00
parent e46bad392a
commit c23964274c
16 changed files with 154 additions and 149 deletions

View file

@ -25,7 +25,7 @@ export default class SlideContent {
*/
shouldPreload( element ) {
if( this.Reveal.isReaderMode() ) {
if( this.Reveal.isScrollView() ) {
return true;
}