Changeset 29390 in osm for applications/editors/josm/plugins/imagery_offset_db/src
- Timestamp:
- 2013-03-24T06:51:38+01:00 (13 years ago)
- Location:
- applications/editors/josm/plugins/imagery_offset_db/src/iodb
- Files:
-
- 2 edited
-
ImageryOffsetTools.java (modified) (1 diff)
-
OffsetDialogButton.java (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/imagery_offset_db/src/iodb/ImageryOffsetTools.java
r29384 r29390 140 140 if( d < 950 ) return formatDistance(d, tr("m"), false ); 141 141 if( d < 9500 ) return formatDistance(d / 1000, tr("km"), true); 142 return formatDistance(d / 1000, tr("km"), false); 142 if( d < 1e6 ) return formatDistance(d / 1000, tr("km"), false); 143 return "\u221E"; 143 144 } 144 145 -
applications/editors/josm/plugins/imagery_offset_db/src/iodb/OffsetDialogButton.java
r29388 r29390 89 89 topLine.add(authorAndDateLabel); 90 90 topLine.add(Box.createHorizontalGlue()); 91 topLine.add(Box.createHorizontalStrut(10)); 91 92 topLine.add(distanceLabel); 92 93 … … 177 178 Graphics2D g2 = (Graphics2D)g.create(); 178 179 g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); 179 if( direction >= 0) {180 if( !isCalibration ) { 180 181 g2.setColor(Color.black); 181 182 Point c = new Point(x + getIconWidth() / 2, y + getIconHeight() / 2);
Note:
See TracChangeset
for help on using the changeset viewer.
