Changeset 11753 in josm
- Timestamp:
- 2017-03-20T23:30:37+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/styleelement/placement/OnLineStrategy.java
r11752 r11753 85 85 86 86 // Order the glyphs along the line to ensure that they are drawn corretly. 87 Collections.sort(offsetGlyphs, Comparator.comparing( e -> e.offset));87 Collections.sort(offsetGlyphs, Comparator.comparing(OffsetGlyph::getOffset)); 88 88 89 89 // Now translate all glyphs. This will modify the glyphs stored in gvs. … … 319 319 } 320 320 321 private double getOffset() { 322 return offset; 323 } 324 321 325 @Override 322 326 public String toString() { 323 327 return "OffsetGlyph [offset=" + offset + ", preRotate=" + preRotate + ", glyphIndex=" + glyphIndex + "]"; 324 328 } 325 326 329 } 327 330
Note:
See TracChangeset
for help on using the changeset viewer.