parent
0b6585bd44
commit
969885a7dc
12
js/reveal.js
12
js/reveal.js
@ -2605,10 +2605,10 @@
|
|||||||
* Updates the slide number div to reflect the current slide.
|
* Updates the slide number div to reflect the current slide.
|
||||||
*
|
*
|
||||||
* The following slide number formats are available:
|
* The following slide number formats are available:
|
||||||
* "h.v": horizontal . vertical slide number (default)
|
* "h.v": horizontal . vertical slide number (default)
|
||||||
* "h/v": horizontal / vertical slide number
|
* "h/v": horizontal / vertical slide number
|
||||||
* "c": flattened slide number
|
* "c": flattened slide number
|
||||||
* "c/t": flattened slide number / total slides
|
* "c/t": flattened slide number / total slides
|
||||||
*/
|
*/
|
||||||
function updateSlideNumber() {
|
function updateSlideNumber() {
|
||||||
|
|
||||||
@ -4297,7 +4297,9 @@
|
|||||||
if( delta > 0 ) {
|
if( delta > 0 ) {
|
||||||
navigateNext();
|
navigateNext();
|
||||||
}
|
}
|
||||||
else {
|
// fix #1607: On MacBook trackpad, a `delta=0` mousewheel event
|
||||||
|
// will be triggered as soon as two fingers touch.
|
||||||
|
else if( delta < 0 ) {
|
||||||
navigatePrev();
|
navigatePrev();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user