Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java @ 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 | fb224f54c643 |
children | 5327ca0f13d1 |
line wrap: on
line diff
--- 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);