Ignore:
Timestamp:
2014-05-02T18:14:52+02:00 (10 years ago)
Author:
bastiK
Message:

fixed #9669 - key-press 3 on node goes down to 6 meter

new advanced property zoom_to_selection_min_size_in_meter to
set the minimum width and height of the area (in meter) for the
zoom to selection action "3"

File:
1 edited

Legend:

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

    r7012 r7053  
    251251            // Increase the bounding box by up to 100% to give more context.
    252252            v.enlargeBoundingBoxLogarithmically(100);
    253             // Make the bounding box at least 0.0005 degrees (≈ 56 m) wide to
     253            // Make the bounding box at least 100 meter wide to
    254254            // ensure reasonable zoom level when zooming onto single nodes.
    255             v.enlargeToMinDegrees(0.0005);
     255            v.enlargeToMinSize(Main.pref.getDouble("zoom_to_selection_min_size_in_meter", 100));
    256256            break;
    257257        case "download":
Note: See TracChangeset for help on using the changeset viewer.