Browse Source

SChneller

master
Tim Zeuner 1 year ago
parent
commit
9a80ec1410

+ 1
- 1
MobileApp/app/src/main/java/com/example/lfrmobileapp/ui/home/HomeFragment.java View File

@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…
Cancel
Save