improve comment

This commit is contained in:
sonora 2016-12-31 19:26:26 +01:00
parent 4385509d7c
commit 806a426a63

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());