Save color from layer

This commit is contained in:
PavelRatushny 2017-06-13 17:23:29 +03:00
parent 691b913e1e
commit 4450460778
2 changed files with 2 additions and 0 deletions

View file

@ -148,6 +148,7 @@ public class TrackDetailsMenu {
mapActivity.getMapView().setMapPositionX(0);
mapActivity.getMapView().refreshMap();
segment = null;
trackChartPoints = null;
}
public void updateInfo(final View main) {

View file

@ -395,6 +395,7 @@ public class GPXLayer extends OsmandMapLayer implements ContextMenuLayer.IContex
if (color == 0) {
color = cachedColor;
}
trackChartPoints.setSegmentColor(color);
}
paintInnerRect.setColor(color);
QuadRect latLonBounds = tileBox.getLatLonBounds();