- Timestamp:
- 2017-02-25T21:52:46+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSParser.jj
r11489 r11623 19 19 20 20 import org.openstreetmap.josm.Main; 21 import org.openstreetmap.josm.data.preferences.ColorProperty; 21 22 import org.openstreetmap.josm.gui.mappaint.Keyword; 22 23 import org.openstreetmap.josm.gui.mappaint.mapcss.Condition; … … 1133 1134 LOOKAHEAD(2) 1134 1135 pref=ident() t=<HEXCOLOR> 1135 { return Main.pref.getColor("mappaint." + (sheet == null ? "MapCSS" : sheet.title) + "." + pref, ColorHelper.html2color(t.image)); }1136 { return new ColorProperty("mappaint." + (sheet == null ? "MapCSS" : sheet.title) + "." + pref, t.image).get(); } 1136 1137 | 1137 1138 t=<IDENT> { return new Keyword(t.image); }
Note:
See TracChangeset
for help on using the changeset viewer.