Increase swipe sensitivity

pull/156/head
M66B 6 years ago
parent 66b4942f41
commit 43176f49cb

@ -32,7 +32,7 @@ public class SwipeListener implements View.OnTouchListener {
SwipeListener(final Context context, final ISwipeListener listener) {
final int width = context.getResources().getDisplayMetrics().widthPixels;
final int MOVE_THRESHOLD = width / 3;
final int SPEED_THRESHOLD = width;
final int SPEED_THRESHOLD = width / 2;
gestureDetector = new GestureDetector(context, new GestureDetector.SimpleOnGestureListener() {
@Override

Loading…
Cancel
Save