Compare commits
2 Commits
366b3db8f9
...
6577c39a1b
Author | SHA1 | Date | |
---|---|---|---|
6577c39a1b | |||
9a80ec1410 |
@ -98,7 +98,7 @@ public class HomeFragment extends Fragment {
|
|||||||
@Override
|
@Override
|
||||||
public boolean onTouch(View v, MotionEvent event) {
|
public boolean onTouch(View v, MotionEvent event) {
|
||||||
boolean send = false;
|
boolean send = false;
|
||||||
if (System.currentTimeMillis() - lastOnMoveCall > 250){
|
if (System.currentTimeMillis() - lastOnMoveCall > 50){
|
||||||
send = true;
|
send = true;
|
||||||
lastOnMoveCall = System.currentTimeMillis();
|
lastOnMoveCall = System.currentTimeMillis();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user