increase ANGLE_THRESHOLD to 30 to reduce accidental rotation

This commit is contained in:
sonora 2016-12-30 13:15:04 +01:00
parent ee66140f83
commit 6f4fd095b3

View file

@ -922,7 +922,7 @@ public class OsmandMapTileView implements IMapDownloaderCallback {
private float y2; private float y2;
private LatLon initialCenterLatLon; private LatLon initialCenterLatLon;
private boolean startRotating = false; private boolean startRotating = false;
private static final float ANGLE_THRESHOLD = 15; private static final float ANGLE_THRESHOLD = 30;
@Override @Override
public void onZoomOrRotationEnded(double relativeToStart, float angleRelative) { public void onZoomOrRotationEnded(double relativeToStart, float angleRelative) {