Ticket #2233: Fix Draw Action Settings.patch

File Fix Draw Action Settings.patch, 831 bytes (added by xeen, 16 years ago)

This fixes the issues with the prefs not working correctly, but doesn't solve the problem at hand

  • src/org/openstreetmap/josm/actions/mapmode/DrawAction.java

     
    663663        Main.map.statusLine.setDist(distance);
    664664        updateStatusLine();
    665665
    666         if (!drawHelperLine || wayIsFinished) return;
     666        if ((!drawHelperLine || wayIsFinished) && !drawTargetHighlight) return;
    667667        Main.map.mapView.repaint();
    668668    }
    669669
     
    790790    }
    791791
    792792    public void paint(Graphics g, MapView mv) {
    793         if (!drawHelperLine && !drawTargetHighlight) return;
     793        if (!drawHelperLine) return;
    794794
    795795        // sanity checks
    796796        if (Main.map.mapView == null) return;