Ignore:
Timestamp:
2012-07-15T14:59:10+02:00 (12 years ago)
Author:
Don-vip
Message:

mappaint: fix "real width" painting, broken since r5212 because of a typo error on "real-width" key. Introduction of a StyleKeys interface centralizing key definitions at the same place to avoid same mistake in the future.

File:
1 edited

Legend:

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

    r3987 r5342  
    1414 * StyleSources apply zoom level dependent properties.
    1515 */
    16 public class MultiCascade {
     16public class MultiCascade implements StyleKeys {
    1717
    1818    private Map<String, Cascade> layers;
     
    4040                // be a modifier. Can be overridden in style definition.
    4141                if (!layer.equals("default") && !layer.equals("*")) {
    42                     c.put("modifier", true);
     42                    c.put(MODIFIER, true);
    4343                }
    4444            }
     
    6161            c = new Cascade();
    6262            if (!layer.equals("default") && !layer.equals("*")) {
    63                 c.put("modifier", true);
     63                c.put(MODIFIER, true);
    6464            }
    6565        }
Note: See TracChangeset for help on using the changeset viewer.