- Timestamp:
- 2008-04-18T01:35:06+02:00 (17 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/AlignInRectangleAction.java
r608 r613 41 41 42 42 public AlignInRectangleAction() { 43 super(tr("Align Nodes in Rectangle"), "align circle", tr("Move the selected nodes into a rectangle."), KeyEvent.VK_Q, 0, true);43 super(tr("Align Nodes in Rectangle"), "alignrect", tr("Move the selected nodes into a rectangle."), KeyEvent.VK_Q, 0, true); 44 44 } 45 45 -
trunk/src/org/openstreetmap/josm/gui/MapStatus.java
r608 r613 348 348 } 349 349 public void setDist(double dist) { 350 String text = dist > 1000 ? (Math.round(dist/100)/10.0)+"km" : Math.round(dist*10)/10 +"m";350 String text = dist > 1000 ? (Math.round(dist/100)/10.0)+"km" : Math.round(dist*10)/10.0 +"m"; 351 351 distText.setText(dist < 0 ? "--" : text); 352 352 }
Note:
See TracChangeset
for help on using the changeset viewer.