Keep move and scroll remainder
This commit is contained in:
parent
51dbecaa63
commit
b3db523db1
1 changed files with 0 additions and 6 deletions
|
|
@ -201,12 +201,6 @@ function handleStart(evt) {
|
||||||
ongoingTouches[idx] = touch;
|
ongoingTouches[idx] = touch;
|
||||||
}
|
}
|
||||||
touchLastEnd = 0;
|
touchLastEnd = 0;
|
||||||
if (!dragging) {
|
|
||||||
moveXSum = Math.trunc(moveXSum);
|
|
||||||
moveYSum = Math.trunc(moveYSum);
|
|
||||||
}
|
|
||||||
scrollXSum = Math.trunc(scrollXSum);
|
|
||||||
scrollYSum = Math.trunc(scrollYSum);
|
|
||||||
if (draggingTimeout != null) {
|
if (draggingTimeout != null) {
|
||||||
clearTimeout(draggingTimeout);
|
clearTimeout(draggingTimeout);
|
||||||
draggingTimeout = null;
|
draggingTimeout = null;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue