Ignore:
Timestamp:
2011-07-27T23:50:06+02:00 (13 years ago)
Author:
bastiK
Message:

mapcss: proper support for scaled icons (fixes #6560)

File:
1 edited

Legend:

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

    r4005 r4272  
    4545        IconReference iconRef = c.get("fill-image", null, IconReference.class);
    4646        if (iconRef != null) {
    47             ImageIcon icon = MapPaintStyles.getIcon(iconRef, false);
     47            ImageIcon icon = MapPaintStyles.getIcon(iconRef, -1, -1, false);
    4848            if (icon != null) {
    4949                if (!(icon.getImage() instanceof BufferedImage)) {
    50                     icon = MapPaintStyles.getIcon(iconRef, true);
     50                    icon = MapPaintStyles.getIcon(iconRef, -1, -1, true);
    5151                }
    5252                if (!(icon.getImage() instanceof BufferedImage))
Note: See TracChangeset for help on using the changeset viewer.