Changeset 16000 in josm for trunk/src/org
- Timestamp:
- 2020-03-02T22:55:05+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSStyleSource.java
r15989 r16000 267 267 MapCSSRule r = rules.get(ruleIndex); 268 268 for (Selector selector : r.selectors) { 269 final List<Condition> conditions = selector.getConditions(); 269 Selector selRightmost = selector; 270 while (selRightmost instanceof Selector.ChildOrParentSelector) { 271 selRightmost = ((Selector.ChildOrParentSelector) selRightmost).right; 272 } 273 final List<Condition> conditions = selRightmost.getConditions(); 270 274 if (conditions == null || conditions.isEmpty()) { 271 275 remaining.set(ruleIndex);
Note:
See TracChangeset
for help on using the changeset viewer.