Changeset 3301 in josm
- Timestamp:
- 2010-06-03T13:29:08+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/LineElemStyle.java
r3291 r3301 153 153 154 154 Color myColor = color; 155 Color myDashedColor = dashedColor; 155 156 int myWidth = getWidth(); 156 157 … … 183 184 } else if(w.isDisabled()) { 184 185 myColor = paintSettings.getInactiveColor(); 186 myDashedColor = paintSettings.getInactiveColor(); 185 187 } 186 188 … … 190 192 if(!s.over) { 191 193 painter.drawWay(w, (s.color == null || selected) ? myColor: s.color, s.getWidth(myWidth), 192 s.getDashed(), s.dashedColor, false, false, false); 194 s.getDashed(), 195 w.isDisabled() ? paintSettings.getInactiveColor() : s.dashedColor, 196 false, false, false); 193 197 } 194 198 } … … 196 200 197 201 /* draw the way */ 198 painter.drawWay(w, myColor, myWidth, dashed, dashedColor, showDirection, selected ? false : reversedDirection, showOnlyHeadArrowOnly);202 painter.drawWay(w, myColor, myWidth, dashed, myDashedColor, showDirection, selected ? false : reversedDirection, showOnlyHeadArrowOnly); 199 203 200 204 /* draw overlays above the way */
Note:
See TracChangeset
for help on using the changeset viewer.