Ignore:
Timestamp:
2011-02-05T14:07:23+01:00 (13 years ago)
Author:
bastiK
Message:

improve mapcss support

File:
1 edited

Legend:

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

    r3848 r3856  
    1717
    1818    protected ElemStyle(Cascade c) {
    19         z_index = c.getFloat("z-index", 0f);
    20         object_z_index = c.getFloat("object-z-index", 0f);
     19        z_index = c.get("z-index", 0f, Float.class);
     20        object_z_index = c.get("object-z-index", 0f, Float.class);
    2121    }
    2222
Note: See TracChangeset for help on using the changeset viewer.