Changeset 4002 in josm


Ignore:
Timestamp:
Mar 24, 2011 10:27:00 AM (2 years ago)
Author:
bastiK
Message:

fixed #6112 - Regression: Clicking outer way of multipolygon no longer displays polygon area (in violet)

File:
1 edited

Legend:

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

    r3987 r4002  
    5151    private final NavigatableComponent nc; 
    5252    private final boolean inactive; 
     53    private final MapPaintSettings settings; 
    5354 
    5455    private final boolean useStrokes; 
     
    8182            double circum, boolean leftHandTraffic) 
    8283    { 
     84        this.settings = settings; 
    8385        this.g = g; 
    8486        this.inactive = inactive; 
     
    648650                    continue; 
    649651                } 
    650                 drawArea(r, p, color, fillImage, fillImageAlpha, text); 
     652                drawArea(r, p,  
     653                        pd.selected ? settings.getRelationSelectedColor(color.getAlpha()) : color, 
     654                        fillImage, fillImageAlpha, text); 
    651655            } 
    652656        } 
Note: See TracChangeset for help on using the changeset viewer.