Forráskód Böngészése

configure notes window presentations to hide needless UI

Hakim El Hattab 11 éve
szülő
commit
a0f0371fb1
1 módosított fájl, 4 hozzáadás és 0 törlés
  1. 4 0
      plugin/notes/notes.html

+ 4 - 0
plugin/notes/notes.html

@@ -239,6 +239,10 @@
 					currentSlide.contentWindow.Reveal.addEventListener( 'fragmentshown', synchronizeMainWindow );
 					currentSlide.contentWindow.Reveal.addEventListener( 'fragmenthidden', synchronizeMainWindow );
 
+					// Reconfigure the notes window to remove needless UI
+					currentSlide.contentWindow.Reveal.configure({ controls: false, progress: false, overview: false });
+					nextSlide.contentWindow.Reveal.configure({ controls: false, progress: false, overview: false });
+
 				}
 				else {