Changeset 7045 in josm for trunk/src/org


Ignore:
Timestamp:
2014-05-02T01:01:18+02:00 (11 years ago)
Author:
bastiK
Message:

mapcss: allow to turn off dashes with dashes: none; without getting warnings on the console

File:
1 edited

Legend:

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

    r7025 r7045  
    185185        color = new Color(color.getRed(), color.getGreen(), color.getBlue(), alpha);
    186186
    187         float[] dashes = c.get(type.prefix + DASHES, null, float[].class);
     187        float[] dashes = c.get(type.prefix + DASHES, null, float[].class, true);
    188188        if (dashes != null) {
    189189            boolean hasPositive = false;
Note: See TracChangeset for help on using the changeset viewer.