disable overview while in reader mode

This commit is contained in:
Hakim El Hattab committed 2023-10-11 10:42:47 +02:00
1 parent be5d811914
commit 980b902a9d
8 files changed
+23 -21

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.isActive() ) {
if( this.Reveal.getConfig().overview && !this.Reveal.isReaderMode() && !this.isActive() ) {
this.active = true;