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

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

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ export default class Overview {
activate() {
// Only proceed if enabled in config
if( this.Reveal.getConfig().overview && !this.Reveal.isReaderMode() && !this.isActive() ) {
if( this.Reveal.getConfig().overview && !this.Reveal.isScrollView() && !this.isActive() ) {
this.active = true;