Ticket #2233: Fix Draw Action Settings.patch
File Fix Draw Action Settings.patch, 831 bytes (added by , 16 years ago) |
---|
-
src/org/openstreetmap/josm/actions/mapmode/DrawAction.java
663 663 Main.map.statusLine.setDist(distance); 664 664 updateStatusLine(); 665 665 666 if ( !drawHelperLine || wayIsFinished) return;666 if ((!drawHelperLine || wayIsFinished) && !drawTargetHighlight) return; 667 667 Main.map.mapView.repaint(); 668 668 } 669 669 … … 790 790 } 791 791 792 792 public void paint(Graphics g, MapView mv) { 793 if (!drawHelperLine && !drawTargetHighlight) return;793 if (!drawHelperLine) return; 794 794 795 795 // sanity checks 796 796 if (Main.map.mapView == null) return;