From 03368dc8b2b09ef54172c8c9cc3724dc48f0d558 Mon Sep 17 00:00:00 2001 From: Tuukka Lehtonen Date: Sun, 21 Oct 2018 10:41:19 +0300 Subject: [PATCH] Make more discrete colors available to support more steep functions gitlab #2 Change-Id: I45d82151557adab08c48dd858cc46f7c630d9826 --- .../src/org/simantics/district/network/profile/Colors.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.45.2