Changeset 9398 in josm for trunk/src


Ignore:
Timestamp:
2016-01-11T00:20:43+01:00 (4 years ago)
Author:
Don-vip
Message:

see #12282 - drop support for canvas{background-color} (deprecated since r7110, not used anymore in any known MapCSS style)

File:
1 edited

Legend:

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

    r9334 r9398  
    532532        Cascade c = constructSpecial("canvas");
    533533        backgroundColorOverride = c.get("fill-color", null, Color.class);
    534         if (backgroundColorOverride == null) {
    535             backgroundColorOverride = c.get("background-color", null, Color.class);
    536             if (backgroundColorOverride != null) {
    537                 String msg = tr("Detected deprecated ''{0}'' in ''{1}'' which will be removed shortly. Use ''{2}'' instead.",
    538                         "canvas{background-color}", url, "fill-color");
    539                 logWarning(msg);
    540                 Main.warn(msg);
    541             }
    542         }
    543534    }
    544535
Note: See TracChangeset for help on using the changeset viewer.