Changeset 8103 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2015-02-24T23:40:24+01:00 (5 years ago)
Author:
bastiK
Message:

fixed #11163 - map symbols of an inactive (for editing) data layer have a black background (full rectangle)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/MapImage.java

    r8085 r8103  
    6969            disabledImgCache = (BufferedImage) disImg;
    7070        } else {
    71             disabledImgCache = new BufferedImage(getWidth(), getHeight(), BufferedImage.TYPE_BYTE_GRAY);
     71            disabledImgCache = new BufferedImage(getWidth(), getHeight(), BufferedImage.TYPE_INT_ARGB);
    7272            Graphics g = disabledImgCache.getGraphics();
    7373            g.drawImage(disImg, 0, 0, null);
Note: See TracChangeset for help on using the changeset viewer.