Changeset 5431 in josm


Ignore:
Timestamp:
2012-08-11T23:54:36+02:00 (12 years ago)
Author:
Don-vip
Message:

fix #7864 - desaturate the colors for inactive areas to alpha of 0.33f

File:
1 edited

Legend:

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

    r5410 r5431  
    865865        if (!isOutlineOnly) {
    866866            if (fillImage == null) {
     867                if (inactive) {
     868                    g.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, 0.33f));
     869                }
    867870                g.setColor(color);
    868871                g.fill(area);
Note: See TracChangeset for help on using the changeset viewer.