aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--css/reveal.css3
-rw-r--r--css/reveal.scss1
-rw-r--r--js/reveal.js1
3 files changed, 4 insertions, 1 deletions
diff --git a/css/reveal.css b/css/reveal.css
index df406a8..cb54d53 100644
--- a/css/reveal.css
+++ b/css/reveal.css
@@ -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; }
diff --git a/css/reveal.scss b/css/reveal.scss
index bcc69f8..330551b 100644
--- a/css/reveal.scss
+++ b/css/reveal.scss
@@ -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) {
diff --git a/js/reveal.js b/js/reveal.js
index 29c2df0..a768d68 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -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 );