try higher timeout

This commit is contained in:
sonora 2017-01-01 18:22:15 +01:00
parent 63fbef739e
commit b062ff0c24
2 changed files with 1 additions and 2 deletions

View file

@ -4,7 +4,7 @@ import android.view.MotionEvent;
import android.view.ViewConfiguration;
public abstract class TwoFingerTapDetector {
private static final int TIMEOUT = ViewConfiguration.getTapTimeout() + 100;
private static final int TIMEOUT = ViewConfiguration.getTapTimeout() + 250;
private long mFirstDownTime = 0;
private byte mTwoFingerTapCount = 0;

View file

@ -850,7 +850,6 @@ public class OsmandMapTileView implements IMapDownloaderCallback {
if (contextMenuLayer != null) {
contextMenuLayer.onTouchEvent(event, getCurrentRotatedTileBox());
}
gestureDetector.onTouchEvent(event);
return true;
}