Ignore:
Timestamp:
2011-10-07T19:55:45+02:00 (13 years ago)
Author:
bastiK
Message:

change zoom factor to something more suitable for TMS (2x zoom in increases scale by factor 2)

File:
1 edited

Legend:

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

    r3919 r4494  
    182182     */
    183183    public void mouseWheelMoved(MouseWheelEvent e) {
    184         nc.zoomToFactor(e.getX(), e.getY(), Math.pow(0.8, - e.getWheelRotation()));
     184        nc.zoomToFactor(e.getX(), e.getY(), Math.pow(Math.sqrt(2), e.getWheelRotation()));
    185185    }
    186186
Note: See TracChangeset for help on using the changeset viewer.