[Dive4elements-commits] [PATCH 4 of 5] Display all 'tranparency' attributes

Wald Commits scm-commit at wald.intevation.org
Mon Dec 17 15:54:56 CET 2012


# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1355756055 -3600
# Node ID b3d7d5289b7f226e64e3e1f85a63742506ceed7d
# Parent  85876e3a53465814caa938fc85712ca9dc20c1f2
Display all 'tranparency' attributes.

diff -r 85876e3a5346 -r b3d7d5289b7f flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java	Mon Dec 17 15:32:53 2012 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java	Mon Dec 17 15:54:15 2012 +0100
@@ -432,7 +432,7 @@
                 f.setValueMap(valueMap);
                 f.setValue(value);
             }
-            else if (name.equals("transparency")) {
+            else if (name.contains("transparency")) {
                 LinkedHashMap<String, String> valueMap = new LinkedHashMap<String, String>();
                 for (int n = 10; n < 100; n += 10) {
                     valueMap.put(Integer.toString(n), n + "%");


More information about the Dive4elements-commits mailing list