diff --git a/OsmAnd/src/net/osmand/plus/views/mapwidgets/NextTurnInfoWidget.java b/OsmAnd/src/net/osmand/plus/views/mapwidgets/NextTurnInfoWidget.java index 3f96c4687d..a60fe55823 100644 --- a/OsmAnd/src/net/osmand/plus/views/mapwidgets/NextTurnInfoWidget.java +++ b/OsmAnd/src/net/osmand/plus/views/mapwidgets/NextTurnInfoWidget.java @@ -64,7 +64,6 @@ public class NextTurnInfoWidget extends TextInfoWidget { public void setTurnImminent(int turnImminent, boolean deviatedFromRoute) { if(turnDrawable.turnImminent != turnImminent || turnDrawable.deviatedFromRoute != deviatedFromRoute) { turnDrawable.setTurnImminent(turnImminent, deviatedFromRoute); - updateDistance(); } } @@ -93,14 +92,6 @@ public class NextTurnInfoWidget extends TextInfoWidget { } } - public void setExitOut(int exit) { - // TODO exit -// if(turnDrawable.exitOut != exit) { -// turnDrawable.e -// } -// TODO; - } - @Override public boolean updateInfo(DrawSettings drawSettings) { return false; @@ -152,6 +143,7 @@ public class NextTurnInfoWidget extends TextInfoWidget { } else { paintRouteDirection.setColor(ctx.getResources().getColor(R.color.nav_arrow_distant)); } + invalidateSelf(); } diff --git a/OsmAnd/src/net/osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java b/OsmAnd/src/net/osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java index 8ba4c9b00a..6bb39e6f63 100644 --- a/OsmAnd/src/net/osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java +++ b/OsmAnd/src/net/osmand/plus/views/mapwidgets/RouteInfoWidgetsFactory.java @@ -77,7 +77,6 @@ public class RouteInfoWidgetsFactory { NextDirectionInfo r = routingHelper.getNextRouteDirectionInfo(calc1, true); if (r != null && r.distanceTo > 0 && r.directionInfo != null) { turnType = r.directionInfo.getTurnType(); - setExitOut(turnType.getExitOut()); nextTurnDistance = r.distanceTo; turnImminent = r.imminent; }