Remove unnecessary changes
This commit is contained in:
parent
9fbdf64cea
commit
35bfa01b02
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue