Save color from layer
This commit is contained in:
parent
691b913e1e
commit
4450460778
2 changed files with 2 additions and 0 deletions
|
@ -148,6 +148,7 @@ public class TrackDetailsMenu {
|
|||
mapActivity.getMapView().setMapPositionX(0);
|
||||
mapActivity.getMapView().refreshMap();
|
||||
segment = null;
|
||||
trackChartPoints = null;
|
||||
}
|
||||
|
||||
public void updateInfo(final View main) {
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue