Ignore:
Timestamp:
17.06.2009 10:04:22 (3 years ago)
Author:
stoecker
Message:

remove all these ugly tab stops introduced in the last half year

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/MapMover.java

    r1518 r1677  
    185185 
    186186        // New center position so that point under the mouse pointer stays the same place as it was before zooming 
    187         // You will get the formula by simplifying this expression: newCenter = oldCenter + mouseCoordinatesInNewZoom - mouseCoordinatesInOldZoom  
     187        // You will get the formula by simplifying this expression: newCenter = oldCenter + mouseCoordinatesInNewZoom - mouseCoordinatesInOldZoom 
    188188        double newX = nc.center.east() - (e.getX() - nc.getWidth()/2.0) * (newScale - nc.scale); 
    189189        double newY = nc.center.north() + (e.getY() - nc.getHeight()/2.0) * (newScale - nc.scale); 
    190                        
     190 
    191191        nc.zoomTo(new EastNorth(newX, newY), newScale); 
    192192    } 
Note: See TracChangeset for help on using the changeset viewer.