Ignore:
Timestamp:
2013-04-23T13:17:15+02:00 (12 years ago)
Author:
donvip
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/editgpx/src/org/openstreetmap/josm/plugins/editgpx/EditGpxLayer.java

    r27977 r29531  
    109109                    for (EditGpxWayPoint wayPoint: segment.getWayPoints()) {
    110110                        if (!wayPoint.isDeleted()) {
    111                             Point pnt = Main.map.mapView.getPoint(wayPoint.getCoor().getEastNorth());
     111                            Point pnt = mv.getPoint(wayPoint.getCoor().getEastNorth());
    112112                            g.drawOval(pnt.x - 2, pnt.y - 2, 4, 4);
    113113                        }
Note: See TracChangeset for help on using the changeset viewer.