Changeset 599 in josm


Ignore:
Timestamp:
2008-04-08T19:02:58+02:00 (17 years ago)
Author:
ramack
Message:
  • mappaint draws direction arrow for the selected way always now
File:
1 edited

Legend:

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

    r597 r599  
    139139                // show direction arrows, if draw.segment.relevant_directions_only is not set, the way is tagged with a direction key
    140140                // (even if the tag is negated as in oneway=false) or the way is selected
    141                 boolean showDirection = (!useRealWidth)
    142                                         && (w.selected || (showDirectionArrow
    143                                                            && (!showRelevantDirectionsOnly || w.hasDirectionKeys)));
     141                boolean showDirection = w.selected ||
     142                                        ((!useRealWidth) && (showDirectionArrow
     143                                                             && (!showRelevantDirectionsOnly || w.hasDirectionKeys)));
    144144
    145145                Color colour = untaggedColor;
Note: See TracChangeset for help on using the changeset viewer.