Changeset 4074 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSStyleSource.java
- Timestamp:
- 2011-05-05T20:49:14+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSStyleSource.java
r4069 r4074 134 134 if ((s instanceof GeneralSelector)) { 135 135 GeneralSelector gs = (GeneralSelector) s; 136 if (gs.base.equals(type)) { 137 for (Condition cnd : gs.conds) { 138 if (!cnd.applies(env)) 139 continue NEXT_RULE; 136 if (gs.getBase().equals(type)) { 137 if (!gs.matchesConditions(env)) { 138 continue NEXT_RULE; 140 139 } 141 for (Instruction i : r.declaration) { 142 i.execute(env); 143 } 140 r.execute(env); 144 141 } 145 142 } … … 179 176 continue; 180 177 } 181 for (Instruction i : r.declaration) { 182 i.execute(env); 183 } 178 r.execute(env); 184 179 } 185 180 } 186 181 env.layer = sub; 187 for (Instruction i : r.declaration) { 188 i.execute(env); 189 } 182 r.execute(env); 190 183 } 191 184 }
Note:
See TracChangeset
for help on using the changeset viewer.