Changeset 15776 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2020-01-26T18:26:28+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/MemberTableLinkedCellRenderer.java
r15775 r15776 67 67 /* vertical lines */ 68 68 if (value.onewayFollowsNext && value.onewayFollowsPrevious) { 69 g.setColor(Color.black); 69 // foreground is set via renderBackgroundForeground 70 g.setColor(getForeground()); 70 71 } else { 71 g.setColor( Color.lightGray);72 g.setColor(getForeground().brighter()); 72 73 } 73 74 if (value.isLoop) { … … 140 141 if (value.linkPrev) { 141 142 if (value.onewayFollowsPrevious) { 142 g.setColor( Color.black);143 } else { 144 g.setColor( Color.lightGray);143 g.setColor(getForeground()); 144 } else { 145 g.setColor(getForeground().brighter()); 145 146 } 146 147 if (value.isOnewayHead) { … … 152 153 } else { 153 154 if (value.isLoop) { 154 g.setColor( Color.black);155 g.setColor(getForeground()); 155 156 y1 = 5; 156 157 g.drawImage(CORNERS, xoff, y1-3, xoff+3, y1, 0, 0, 3, 3, new Color(0, 0, 0, 0), null); … … 175 176 if (value.linkNext) { 176 177 if (value.onewayFollowsNext) { 177 g.setColor( Color.black);178 } else { 179 g.setColor( Color.lightGray);178 g.setColor(getForeground()); 179 } else { 180 g.setColor(getForeground().brighter()); 180 181 } 181 182 if (value.isOnewayTail) { … … 187 188 } else { 188 189 if (value.isLoop) { 189 g.setColor( Color.black);190 g.setColor(getForeground()); 190 191 y2 = ymax - 5; 191 192 g.fillRect(xoff-1, y2+2, 3, 3);
Note:
See TracChangeset
for help on using the changeset viewer.