Changeset 5901 in josm for trunk/src/org


Ignore:
Timestamp:
2013-04-23T13:14:19+02:00 (11 years ago)
Author:
Don-vip
Message:

Do not use Main.map.mapView instead of mv parameter in paint() methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/geoimage/GeoImageLayer.java

    r5505 r5901  
    394394    @Override
    395395    public void paint(Graphics2D g, MapView mv, Bounds bounds) {
    396         int width = Main.map.mapView.getWidth();
    397         int height = Main.map.mapView.getHeight();
     396        int width = mv.getWidth();
     397        int height = mv.getHeight();
    398398        Rectangle clip = g.getClipBounds();
    399399        if (useThumbs) {
Note: See TracChangeset for help on using the changeset viewer.