Bläddra i källkod

configure notes window presentations to hide needless UI

Hakim El Hattab 11 år sedan
förälder
incheckning
a0f0371fb1
1 ändrade filer med 4 tillägg och 0 borttagningar
  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 {