Ignore:
Timestamp:
2009-07-03T23:35:00+02:00 (16 years ago)
Author:
stoecker
Message:

fixes for JOSM 1725 - utilsplugin JumpToAction still missing

Location:
applications/editors/josm/plugins/openstreetbugs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/openstreetbugs/build.xml

    r16290 r16294  
    2626                <attribute name="Plugin-Description" value="Imports issues from OpenStreetBugs"/>
    2727                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/OpenStreetBugs"/>
    28                 <attribute name="Plugin-Mainversion" value="1722"/>
     28                <attribute name="Plugin-Mainversion" value="1725"/>
    2929                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    3030            </manifest>
  • applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbLayer.java

    r16163 r16294  
    125125            }
    126126
    127             Point p = mv.getPoint(node.getEastNorth());
     127            Point p = mv.getPoint(node);
    128128
    129129            ImageIcon icon = OsbPlugin.loadIcon("icon_error16.png");
     
    200200            if (n.deleted || n.incomplete)
    201201                continue;
    202             Point sp = Main.map.mapView.getPoint(n.getEastNorth());
     202            Point sp = Main.map.mapView.getPoint(n);
    203203            double dist = p.distanceSq(sp);
    204204            if (minDistanceSq > dist && p.distance(sp) < snapDistance) {
Note: See TracChangeset for help on using the changeset viewer.