Changeset 631 in josm for trunk/src/org/openstreetmap/josm/data/osm
- Timestamp:
- 2008-05-11T03:05:11+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/MapPaintVisitor.java
r627 r631 182 182 } 183 183 orderNumber++; 184 // drawSegment(lastN, n, w.selected && !inactive ? selectedColor : wayColor, showDirectionArrow); 185 186 if (area && fillAreas) 187 //Draw segments in a different colour so direction arrows show against the fill188 drawSeg(lastN, n, w.selected ? selectedColor : untaggedColor, showDirection, width, true);189 else190 if (area) 184 185 if (area && fillAreas) { 186 // hack to make direction arrows visible against filled background 187 if (showDirection) 188 drawSeg(lastN, n, w.selected ? selectedColor : untaggedColor, showDirection, width, true); 189 } else { 190 if (area) { 191 191 drawSeg(lastN, n, w.selected ? selectedColor : colour, showDirection, width, true); 192 else193 if (realWidth > 0 && useRealWidth && !showDirection) {192 } else { 193 if (realWidth > 0 && useRealWidth && !showDirection) { 194 194 int tmpWidth = (int) (100 / (float) (circum / realWidth)); 195 195 if (tmpWidth > width) width = tmpWidth; 196 196 } 197 } 198 } 197 199 198 200 drawSeg(lastN, n, w.selected ? selectedColor : colour, showDirection, width, dashed);
Note:
See TracChangeset
for help on using the changeset viewer.