Prechádzať zdrojové kódy

configure notes window presentations to hide needless UI

Hakim El Hattab 11 rokov pred
rodič
commit
a0f0371fb1
1 zmenil súbory, kde vykonal 4 pridanie a 0 odobranie
  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 {