1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-06 14:47:04 +02:00

disable overview while in reader mode

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

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;