Changeset 18684 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2023-03-07T17:15:04+01:00 (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageDisplay.java
r18605 r18684 365 365 currentVisibleRect.width = (int) (currentVisibleRect.width * ZOOM_STEP.get()); 366 366 currentVisibleRect.height = (int) (currentVisibleRect.height * ZOOM_STEP.get()); 367 } else { 367 } else if (rotation < 0) { 368 368 currentVisibleRect.width = (int) (currentVisibleRect.width / ZOOM_STEP.get()); 369 369 currentVisibleRect.height = (int) (currentVisibleRect.height / ZOOM_STEP.get()); 370 } 370 } // else rotation == 0, which can happen with some modern trackpads (see #22770) 371 371 372 372 // Check that the zoom doesn't exceed MAX_ZOOM:1
Note:
See TracChangeset
for help on using the changeset viewer.