Ignore:
Timestamp:
2008-12-23T15:07:05+01:00 (15 years ago)
Author:
stoecker
Message:

removed usage of tab stops

File:
1 edited

Legend:

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

    r1087 r1169  
    1212public final class ZoomOutAction extends JosmAction {
    1313
    14         public ZoomOutAction() {
    15                 super(tr("Zoom out"), "dialogs/zoomout", tr("Zoom out"),
    16                 Shortcut.registerShortcut("view:zoomout", tr("View: {0}", tr("Zoom out")), KeyEvent.VK_MINUS, Shortcut.GROUP_DIRECT), true);
    17                 setEnabled(true);
    18         }
     14    public ZoomOutAction() {
     15        super(tr("Zoom out"), "dialogs/zoomout", tr("Zoom out"),
     16        Shortcut.registerShortcut("view:zoomout", tr("View: {0}", tr("Zoom out")), KeyEvent.VK_MINUS, Shortcut.GROUP_DIRECT), true);
     17        setEnabled(true);
     18    }
    1919
    20         public void actionPerformed(ActionEvent e) {
     20    public void actionPerformed(ActionEvent e) {
    2121        if (Main.map == null) return;
    22                 double zoom = Main.map.mapView.getScale();
    23                 Main.map.mapView.zoomTo(Main.map.mapView.getCenter(), zoom /.9);
    24         }
     22        double zoom = Main.map.mapView.getScale();
     23        Main.map.mapView.zoomTo(Main.map.mapView.getCenter(), zoom /.9);
     24    }
    2525}
Note: See TracChangeset for help on using the changeset viewer.