Delete unnecessary fields

This commit is contained in:
Alexander Sytnyk 2017-06-27 18:55:19 +03:00
parent 14f232cc41
commit a714571d5f

View file

@ -995,8 +995,6 @@ public class OsmandMapTileView implements IMapDownloaderCallback {
private LatLon initialCenterLatLon;
private boolean startRotating = false;
private static final float ANGLE_THRESHOLD = 30;
private int cacheIntZoom = getZoom();
private double cacheFractionalZoom = getZoomFractionalPart();
@Override
public void onZoomOrRotationEnded(double relativeToStart, float angleRelative) {
@ -1065,9 +1063,7 @@ public class OsmandMapTileView implements IMapDownloaderCallback {
@Override
public void onActionPointerUp() {
multiTouch = false;
if (cacheIntZoom != getZoom() || cacheFractionalZoom != getZoomFractionalPart()) {
cacheIntZoom = getZoom();
cacheFractionalZoom = getZoomFractionalPart();
if (isZooming()) {
multiTouchEndTime = 0;
} else {
multiTouchEndTime = System.currentTimeMillis();