From 5e5f6d251ee00468224f5708530bd77f9559486d Mon Sep 17 00:00:00 2001 From: sonora Date: Sun, 10 Jan 2016 20:13:29 +0100 Subject: [PATCH] fix also for mapAppModeShadow --- OsmAnd/src/net/osmand/plus/views/MapControlsLayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/views/MapControlsLayer.java b/OsmAnd/src/net/osmand/plus/views/MapControlsLayer.java index 77cfb9f8fa..5cbe4c3e67 100644 --- a/OsmAnd/src/net/osmand/plus/views/MapControlsLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/MapControlsLayer.java @@ -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()) {