Changeset 797 in josm


Ignore:
Timestamp:
2008-08-16T21:30:42+02:00 (16 years ago)
Author:
stoecker
Message:

corrected autoscale

File:
1 edited

Legend:

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

    r795 r797  
    8989                        if (v.min != null && v.max != null) // && v.min.north() == v.max.north() && v.min.east() == v.max.east()) {
    9090                        {
    91                                 EastNorth en = new EastNorth(0,0);
     91                                EastNorth en = new EastNorth(0.0001,0.0001);
    9292                                v.min = new EastNorth(v.min.east()-en.east(), v.min.north()-en.north());
    9393                                v.max = new EastNorth(v.max.east()+en.east(), v.max.north()+en.north());
Note: See TracChangeset for help on using the changeset viewer.