Remove unnecessary changes

This commit is contained in:
Vitaliy 2020-05-21 17:40:39 +03:00
parent 9fbdf64cea
commit 35bfa01b02

View file

@ -349,7 +349,7 @@ public class MapQuickActionLayer extends OsmandMapLayer implements QuickActionRe
view.setLatLon(lat, lon);
}
int currentPosition = view.getMapPosition();
if (previousMapPosition != currentPosition && currentPosition == OsmandSettings.MIDDLE_BOTTOM_CONSTANT) {
if (currentPosition == OsmandSettings.MIDDLE_BOTTOM_CONSTANT) {
view.setMapPosition(previousMapPosition);
}