From: Tuukka Lehtonen Date: Sun, 21 Oct 2018 07:41:19 +0000 (+0300) Subject: Make more discrete colors available to support more steep functions X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=03368dc8b2b09ef54172c8c9cc3724dc48f0d558;p=simantics%2Fdistrict.git Make more discrete colors available to support more steep functions gitlab #2 Change-Id: I45d82151557adab08c48dd858cc46f7c630d9826 --- diff --git a/org.simantics.district.network/src/org/simantics/district/network/profile/Colors.java b/org.simantics.district.network/src/org/simantics/district/network/profile/Colors.java index 9ead5c38..4fe78941 100644 --- a/org.simantics.district.network/src/org/simantics/district/network/profile/Colors.java +++ b/org.simantics.district.network/src/org/simantics/district/network/profile/Colors.java @@ -35,7 +35,7 @@ public class Colors { } public static final ColorGradient cached(ColorGradient cg) { - return new Cache(cg, 512); + return new Cache(cg, 2048); } public static final ColorGradient hsvGradient(float hue, float saturation) {