prevent swipes on speaker notes

This commit is contained in:
Hakim El Hattab 2015-09-10 11:26:05 +02:00
parent 0d37757f3f
commit 1116d99e87
3 changed files with 4 additions and 1 deletions

View File

@ -1179,7 +1179,8 @@ body {
-moz-box-sizing: border-box;
box-sizing: border-box;
text-align: left;
font-family: Helvetica, sans-serif; }
font-family: Helvetica, sans-serif;
-webkit-overflow-scrolling: touch; }
.reveal .speaker-notes.visible:not(:empty) {
display: block; }

View File

@ -1315,6 +1315,7 @@ body {
box-sizing: border-box;
text-align: left;
font-family: Helvetica, sans-serif;
-webkit-overflow-scrolling: touch;
}
.reveal .speaker-notes.visible:not(:empty) {

View File

@ -470,6 +470,7 @@
// Element containing notes that are visible to the audience
dom.speakerNotes = createSingletonNode( dom.wrapper, 'div', 'speaker-notes', null );
dom.speakerNotes.setAttribute( 'data-prevent-swipe', '' );
// Overlay graphic which is displayed during the paused mode
createSingletonNode( dom.wrapper, 'div', 'pause-overlay', null );