Changeset 596 in josm for trunk/src/org


Ignore:
Timestamp:
2008-04-07T02:26:32+02:00 (17 years ago)
Author:
framm
Message:
  • fix direction arrow drawing for ways in mappaint mode, patch by Michael Bergbauer <michael@…>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/MapPaintVisitor.java

    r580 r596  
    136136        public void visit(Way w) {
    137137                double circum = Main.map.mapView.getScale()*100*Main.proj.scaleFactor()*40041455; // circumference of the earth in meter
    138                 boolean showDirection = showDirectionArrow;
    139                 if (useRealWidth && showDirection && !w.selected) showDirection = false;
     138                boolean showDirection = showDirectionArrow && w.selected;
     139                if (useRealWidth && showDirection) showDirection = false;
    140140                Color colour = untaggedColor;
    141141                int width = 2;
Note: See TracChangeset for help on using the changeset viewer.