Scroll with 2 fingers
This commit is contained in:
parent
9f170ee2c1
commit
722b1ea521
|
@ -130,7 +130,7 @@ var scrollerTouchMoveHandler = function(e) {
|
||||||
var value = ((touch.pageY - mouseInitPosY > 0) ? 'down' : 'up');
|
var value = ((touch.pageY - mouseInitPosY > 0) ? 'down' : 'up');
|
||||||
var now = new Date().getTime();
|
var now = new Date().getTime();
|
||||||
|
|
||||||
if (value === scrollLastValue && scrollLastTimestamp !== null && now - scrollLastTimestamp < 200) {
|
if (touch.pageY === mouseInitPosY || value === scrollLastValue && scrollLastTimestamp !== null && now - scrollLastTimestamp < 200) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue