Changeset 855 in josm for trunk/src


Ignore:
Timestamp:
2008-08-24T13:36:48+02:00 (16 years ago)
Author:
stoecker
Message:

fixed area border display

File:
1 edited

Legend:

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

    r809 r855  
    155155                                if(fillAreas)
    156156                                {
    157                                         // hack to make direction arrows visible against filled background
    158                                         if (showDirection || virtualNodeSize != 0)
    159                                                 drawSeg(lastN, n, w.selected ? selectedColor : untaggedColor, showDirection, width, false, false);
     157                                        if(w.selected)
     158                                        {
     159                                                if(showDirection || virtualNodeSize != 0)
     160                                                        drawSeg(lastN, n, selectedColor, showDirection, width, false, false);
     161                                        }
     162                                        else
     163                                                drawSeg(lastN, n, untaggedColor, showDirection, width, dashed, true);
    160164                                }
    161165                                else
Note: See TracChangeset for help on using the changeset viewer.