Fix palette

This commit is contained in:
cepprice 2021-03-10 19:59:06 +05:00
parent 116ec774ad
commit c473f77a4d

View file

@ -209,8 +209,8 @@ public class RouteColorize {
} }
setPalette(new double[][] { setPalette(new double[][] {
{minValue, gradientPalette[0]}, {minValue, gradientPalette[0]},
{colorizationType == ColorizationType.SLOPE ? 12.5 : (minValue + maxValue) / 2}, {colorizationType == ColorizationType.SLOPE ? 0 : (minValue + maxValue) / 2},
{maxValue, gradientPalette[0]} {maxValue, gradientPalette[2]}
}); });
} }