Changeset 757 in josm for trunk/src/org
- Timestamp:
- 2008-08-07T13:40:51+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/MapPaintVisitor.java
r636 r757 181 181 orderNumber++; 182 182 183 if (area && fillAreas) { 184 // hack to make direction arrows visible against filled background 185 if (showDirection) 186 drawSeg(lastN, n, w.selected ? selectedColor : untaggedColor, showDirection, width, true); 183 if (area) { 184 if(fillAreas) 185 { 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 } 190 else 191 drawSeg(lastN, n, w.selected ? selectedColor : colour, showDirection, width, true); 187 192 } else { 188 if (area) { 189 drawSeg(lastN, n, w.selected ? selectedColor : colour, showDirection, width, true); 190 } else { 191 if (realWidth > 0 && useRealWidth && !showDirection) { 192 int tmpWidth = (int) (100 / (float) (circum / realWidth)); 193 if (tmpWidth > width) width = tmpWidth; 194 } 193 if (realWidth > 0 && useRealWidth && !showDirection) { 194 int tmpWidth = (int) (100 / (float) (circum / realWidth)); 195 if (tmpWidth > width) width = tmpWidth; 195 196 } 196 } 197 198 drawSeg(lastN, n, w.selected ? selectedColor : colour, showDirection, width, dashed); 197 drawSeg(lastN, n, w.selected ? selectedColor : colour, showDirection, width, dashed); 198 } 199 199 200 200 if (showOrderNumber)
Note:
See TracChangeset
for help on using the changeset viewer.