浏览代码

configure notes window presentations to hide needless UI

Hakim El Hattab 11 年之前
父节点
当前提交
a0f0371fb1
共有 1 个文件被更改,包括 4 次插入0 次删除
  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 {