Changeset 9398 in josm
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSStyleSource.java
r9334 r9398 532 532 Cascade c = constructSpecial("canvas"); 533 533 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 }543 534 } 544 535 -
trunk/test/data/styles/label-from-tag.mapcss
r3991 r9398 10 10 11 11 canvas { 12 background-color: #000000;12 fill-color: #000000; 13 13 } 14 14
Note:
See TracChangeset
for help on using the changeset viewer.