Changeset 17797 in josm for trunk


Ignore:
Timestamp:
2021-04-19T19:21:34+02:00 (4 years ago)
Author:
simon04
Message:

see #20744 - Fix MapCSS function is_prop_set

File:
1 edited

Legend:

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

    r17780 r17797  
    186186        FACTORY_MAP.put("is_anticlockwise", Factory.ofEnv(Functions::is_anticlockwise));
    187187        FACTORY_MAP.put("is_clockwise", Factory.ofEnv(Functions::is_clockwise));
    188         FACTORY_MAP.put("is_prop_set", Factory.ofEnv(String.class, Functions::is_prop_set));
     188        FACTORY_MAP.put("is_prop_set", Factory.ofEnv(String.class, String.class, Functions::is_prop_set, Functions::is_prop_set));
    189189        FACTORY_MAP.put("is_right_hand_traffic", Factory.ofEnv(Functions::is_right_hand_traffic));
    190190        FACTORY_MAP.put("is_similar", Factory.of(String.class, String.class, Functions::is_similar));
Note: See TracChangeset for help on using the changeset viewer.