Ignore:
Timestamp:
2009-07-22T20:33:41+02:00 (15 years ago)
Author:
stoecker
Message:

some projection and zoom cleanups - projection classes still need better handling of outside-world coordinates

File:
1 edited

Legend:

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

    r1722 r1823  
    3030        if (getModel().getValueIsAdjusting()) return;
    3131
    32         ProjectionBounds world = Main.proj.getWorldBounds();
     32        ProjectionBounds world = this.mv.getMaxProjectionBounds();
    3333        ProjectionBounds current = this.mv.getProjectionBounds();
    3434
     
    5454        if (preventChange) return;
    5555
    56         ProjectionBounds world = Main.proj.getWorldBounds();
     56        ProjectionBounds world = this.mv.getMaxProjectionBounds();
    5757        double fact = Math.pow(1.1, getValue());
    5858        double es = world.max.east()-world.min.east();
Note: See TracChangeset for help on using the changeset viewer.