Changeset 4494 in josm for trunk/src/org/openstreetmap/josm/gui/MapMover.java
- Timestamp:
- 2011-10-07T19:55:45+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapMover.java
r3919 r4494 182 182 */ 183 183 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())); 185 185 } 186 186
Note:
See TracChangeset
for help on using the changeset viewer.