Changeset 18801 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss
- Timestamp:
- 2023-08-09T15:30:01+02:00 (2 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss
- Files:
-
- 3 edited
-
ConditionFactory.java (modified) (2 diffs)
-
MapCSSParser.jj (modified) (2 diffs)
-
MapCSSStyleIndex.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ConditionFactory.java
r18414 r18801 212 212 /** 213 213 * Create a new float operation that compares two float values 214 * @param comparatorResult A function to map tthe result of the comparison214 * @param comparatorResult A function to map the result of the comparison 215 215 */ 216 216 Op(IntFunction<Boolean> comparatorResult) { … … 830 830 */ 831 831 static boolean unclosed_multipolygon(Environment e) { 832 return e.osm instanceof Relation && ((Relation) e.osm).isMultipolygon() &&832 return e.osm instanceof Relation && e.osm.isMultipolygon() && 833 833 !e.osm.isIncomplete() && !((Relation) e.osm).hasIncompleteMembers() && 834 834 !MultipolygonCache.getInstance().get((Relation) e.osm).getOpenEnds().isEmpty(); -
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSParser.jj
r18757 r18801 712 712 { 713 713 boolean not = false; 714 KeyMatchType matchType = null; ;714 KeyMatchType matchType = null; 715 715 String key; 716 716 } … … 733 733 float f; 734 734 int i; 735 KeyMatchType matchType = null; ;735 KeyMatchType matchType = null; 736 736 Op op; 737 737 boolean considerValAsKey = false; -
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSStyleIndex.java
r16784 r18801 149 149 } 150 150 } else if (p instanceof IRelation) { 151 if ( ((IRelation<?>) p).isMultipolygon()) {151 if (p.isMultipolygon()) { 152 152 return multipolygonRules; 153 153 } else if (p.hasKey("#canvas")) {
Note:
See TracChangeset
for help on using the changeset viewer.
