Changeset 1443 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2009-02-25T09:37:21+01:00 (16 years ago)
Author:
stoecker
Message:

fix helper line

File:
1 edited

Legend:

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

    r1438 r1443  
    664664        updateStatusLine();
    665665
    666         if (!drawHelperLine || wayIsFinished) return;
     666        if ((!drawHelperLine || wayIsFinished) && !drawTargetHighlight) return;
    667667        Main.map.mapView.repaint();
    668668    }
     
    791791
    792792    public void paint(Graphics g, MapView mv) {
    793         if (!drawHelperLine && !drawTargetHighlight) return;
     793        if (!drawHelperLine) return;
    794794
    795795        // sanity checks
Note: See TracChangeset for help on using the changeset viewer.