Fix unnecessary displaying of map controls
This commit is contained in:
parent
97a3e251de
commit
36ec3e9fb0
1 changed files with 3 additions and 1 deletions
|
@ -1005,7 +1005,9 @@ public class MapActivity extends OsmandActionBarActivity implements DownloadEven
|
|||
}
|
||||
|
||||
public void readLocationToShow() {
|
||||
mapLayers.getMapControlsLayer().showMapControlsIfHidden();
|
||||
if (!getDashboard().isVisible()) {
|
||||
mapLayers.getMapControlsLayer().showMapControlsIfHidden();
|
||||
}
|
||||
|
||||
LatLon cur = new LatLon(mapView.getLatitude(), mapView.getLongitude());
|
||||
LatLon latLonToShow = settings.getAndClearMapLocationToShow();
|
||||
|
|
Loading…
Reference in a new issue