Changeset 990 in josm for trunk/src/org/openstreetmap/josm/data/osm/visitor
- Timestamp:
- 2008-09-18T16:50:16+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/MapPaintVisitor.java
r987 r990 134 134 if (tmpWidth > width) width = tmpWidth; 135 135 } 136 if(w.selected) 137 color = selectedColor; 136 138 137 139 Node lastN; … … 146 148 { 147 149 if(lastN != null) 148 drawSeg(lastN, n, s.color != null ? s.color : color, false, s.getWidth(width), s.dashed); 150 { 151 drawSeg(lastN, n, s.color != null && !w.selected ? s.color : color, 152 false, s.getWidth(width), s.dashed); 153 } 149 154 lastN = n; 150 155 } … … 157 162 { 158 163 if(lastN != null) 159 drawSeg(lastN, n, w.selected ? selectedColor :color, showDirection, width, dashed);164 drawSeg(lastN, n, color, showDirection, width, dashed); 160 165 lastN = n; 161 166 } … … 171 176 { 172 177 if(lastN != null) 173 drawSeg(lastN, n, s.color != null ? s.color : color, false, s.getWidth(width), s.dashed); 178 { 179 drawSeg(lastN, n, s.color != null && !w.selected ? s.color : color, 180 false, s.getWidth(width), s.dashed); 181 } 174 182 lastN = n; 175 183 }
Note:
See TracChangeset
for help on using the changeset viewer.