Changeset 7345 in josm for trunk/src/org
- Timestamp:
- 2014-07-28T20:43:39+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/gpx/GpxDrawHelper.java
r7340 r7345 201 201 g.setStroke(new BasicStroke(lineWidth,BasicStroke.CAP_ROUND,BasicStroke.JOIN_ROUND)); 202 202 } 203 fixColors(visibleSegments); 203 204 drawLines(g, mv, visibleSegments); 204 205 drawArrows(g, mv, visibleSegments); … … 503 504 } 504 505 506 private void fixColors(List<WayPoint> visibleSegments) { 507 for (WayPoint trkPnt : visibleSegments) { 508 if (trkPnt.customColoring == null) { 509 trkPnt.customColoring = neutralColor; 510 } 511 } 512 } 513 505 514 /** 506 515 * Check cache validity set necessary flags
Note:
See TracChangeset
for help on using the changeset viewer.