Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2016-12-31 19:27:03 +01:00
commit 471d1c0b1c

View file

@ -1125,7 +1125,7 @@ public class OsmandMapTileView implements IMapDownloaderCallback {
@Override @Override
public boolean onSingleTapConfirmed(MotionEvent e) { public boolean onSingleTapConfirmed(MotionEvent e) {
if (doubleTapScaleDetector.isDoubleTapping()) { if (doubleTapScaleDetector.isDoubleTapping()) {
// Needed to suppress false single tap detection if we mask gestures on isDoubleTapping() // Needed to suppress false single tap detection if we mask MotionEvents for gestures on isDoubleTapping()
return true; return true;
} }
PointF point = new PointF(e.getX(), e.getY()); PointF point = new PointF(e.getX(), e.getY());