Changeset 613 in josm for trunk


Ignore:
Timestamp:
2008-04-18T01:35:06+02:00 (17 years ago)
Author:
framm
Message:
  • add extra digit to length when displayed in metres
  • proper icon for align-in-rectangle
Location:
trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/AlignInRectangleAction.java

    r608 r613  
    4141
    4242        public AlignInRectangleAction() {
    43                 super(tr("Align Nodes in Rectangle"), "aligncircle", 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);
    4444        }
    4545
  • trunk/src/org/openstreetmap/josm/gui/MapStatus.java

    r608 r613  
    348348        }
    349349        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";
    351351                distText.setText(dist < 0 ? "--" : text);
    352352        }
Note: See TracChangeset for help on using the changeset viewer.