Mercurial > dive4elements > river
changeset 1353:fd408dfbd3b8
Convert all color attributes from html to rgb notation.
flys-client/trunk@3029 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 19 Oct 2011 11:44:41 +0000 |
parents | 01b18db3b288 |
children | 5327ca0f13d1 |
files | flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-client/ChangeLog Wed Oct 19 11:08:03 2011 +0000 +++ b/flys-client/ChangeLog Wed Oct 19 11:44:41 2011 +0000 @@ -1,3 +1,8 @@ +2011-10-19 Raimund Renkert <raimund.renkert@intevation.de> + + * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: + Convert all color attributes from html to rgb notation. + 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de> Added a displayName propertie to Recommendations and add names to data
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java Wed Oct 19 11:08:03 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java Wed Oct 19 11:44:41 2011 +0000 @@ -399,7 +399,7 @@ Theme t = facet.getTheme(); Style s = attributes.getStyle(t.getFacet(), t.getIndex()); StyleSetting set = s.getSetting(name); - if(name.equals("linecolor")) { + if(name.indexOf("color") != -1) { value = htmlToRgb(value); } set.setDefaultValue(value);