naturalSwipe : true, // Swipe as if it were a touch screen.
pointerColor : '#00aaff', // Default color of the pointer.
pointerOpacity : 0.7, // Default opacity of the pointer.
- pointerSize : 15, // Default height/width of the pointer.
+ pointerSize : 15, // Default minimum height/width of the pointer.
pointerTolerance : 120 // Bigger = slower pointer.
},
now,
else {
config.naturalSwipe ? Reveal.right() : Reveal.left();
}
-
- lastGesture = now;
- // Up/down swipe gestures
}
+ // Up/down swipe gestures
else {
if( y > 0 ) {
config.naturalSwipe ? Reveal.down() : Reveal.up();
else {
config.naturalSwipe ? Reveal.up() : Reveal.down();
}
-
- lastGesture = now;
}
+
+ lastGesture = now;
}
}
// Two hand gestures