]> gerrit.simantics Code Review - simantics/district.git/commitdiff
Make more discrete colors available to support more steep functions 43/2343/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Sun, 21 Oct 2018 07:41:19 +0000 (10:41 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Sun, 21 Oct 2018 07:41:19 +0000 (10:41 +0300)
gitlab #2

Change-Id: I45d82151557adab08c48dd858cc46f7c630d9826

org.simantics.district.network/src/org/simantics/district/network/profile/Colors.java

index 9ead5c38f3d223883bf41c5c7df313722e50772c..4fe7894157ddd268b317019d75afb4fb4dbafdd4 100644 (file)
@@ -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) {