prevent swipes on speaker notes
This commit is contained in:
		| @@ -1179,7 +1179,8 @@ body { | |||||||
|   -moz-box-sizing: border-box; |   -moz-box-sizing: border-box; | ||||||
|        box-sizing: border-box; |        box-sizing: border-box; | ||||||
|   text-align: left; |   text-align: left; | ||||||
|   font-family: Helvetica, sans-serif; } |   font-family: Helvetica, sans-serif; | ||||||
|  |   -webkit-overflow-scrolling: touch; } | ||||||
|  |  | ||||||
| .reveal .speaker-notes.visible:not(:empty) { | .reveal .speaker-notes.visible:not(:empty) { | ||||||
|   display: block; } |   display: block; } | ||||||
|   | |||||||
| @@ -1315,6 +1315,7 @@ body { | |||||||
| 	box-sizing: border-box; | 	box-sizing: border-box; | ||||||
| 	text-align: left; | 	text-align: left; | ||||||
| 	font-family: Helvetica, sans-serif; | 	font-family: Helvetica, sans-serif; | ||||||
|  | 	-webkit-overflow-scrolling: touch; | ||||||
| } | } | ||||||
|  |  | ||||||
| .reveal .speaker-notes.visible:not(:empty) { | .reveal .speaker-notes.visible:not(:empty) { | ||||||
|   | |||||||
| @@ -470,6 +470,7 @@ | |||||||
|  |  | ||||||
| 		// Element containing notes that are visible to the audience | 		// Element containing notes that are visible to the audience | ||||||
| 		dom.speakerNotes = createSingletonNode( dom.wrapper, 'div', 'speaker-notes', null ); | 		dom.speakerNotes = createSingletonNode( dom.wrapper, 'div', 'speaker-notes', null ); | ||||||
|  | 		dom.speakerNotes.setAttribute( 'data-prevent-swipe', '' ); | ||||||
|  |  | ||||||
| 		// Overlay graphic which is displayed during the paused mode | 		// Overlay graphic which is displayed during the paused mode | ||||||
| 		createSingletonNode( dom.wrapper, 'div', 'pause-overlay', null ); | 		createSingletonNode( dom.wrapper, 'div', 'pause-overlay', null ); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user