Changeset 17824 in josm for trunk/src/org
- Timestamp:
- 2021-04-26T19:31:05+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ConditionFactory.java
r17799 r17824 691 691 @Override 692 692 public boolean applies(Environment env) { 693 return Environment.DEFAULT_LAYER.equals(env.layer) 694 ? applies(env, env.layer) 695 : applies(env, env.layer) || applies(env, Environment.DEFAULT_LAYER); 696 } 697 698 private boolean applies(Environment env, String layer) { 699 Cascade cascade = env.getCascade(layer); 693 Cascade cascade = env.getCascade(); 700 694 return cascade != null && (not ^ cascade.containsKey(id)); 701 695 }
Note:
See TracChangeset
for help on using the changeset viewer.