fix also for mapAppModeShadow

This commit is contained in:
sonora 2016-01-10 20:13:29 +01:00
parent fcd0ded944
commit 5e5f6d251e

View file

@ -508,7 +508,7 @@ public class MapControlsLayer extends OsmandMapLayer {
compassHud.updateVisibility(!dialogOpened);
layersHud.updateVisibility(!dialogOpened);
if (routeFollowingMode || routePlanningMode) {
if ((routePlanningMode || routeFollowingMode) && mapActivity.getMyApplication().getTargetPointsHelper().getPointToNavigate() != null) {
mapAppModeShadow.setVisibility(View.GONE);
} else {
if (mapView.isZooming()) {