In a previous commit, I accidentally scaled the hue instead of the
saturation. Ooops.
hsla.lightness *= color->sym_col.shade.factor;
hsla.lightness = CLAMP (hsla.lightness, 0.0, 1.0);
- hsla.hue *= color->sym_col.shade.factor;
- hsla.hue = CLAMP (hsla.hue, 0.0, 1.0);
+ hsla.saturation *= color->sym_col.shade.factor;
+ hsla.saturation = CLAMP (hsla.saturation, 0.0, 1.0);
_gdk_rgba_init_from_hsla (&shade, &hsla);
hsla.lightness *= factor;
hsla.lightness = CLAMP (hsla.lightness, 0.0, 1.0);
- hsla.hue *= factor;
- hsla.hue = CLAMP (hsla.hue, 0.0, 1.0);
+ hsla.saturation *= factor;
+ hsla.saturation = CLAMP (hsla.saturation, 0.0, 1.0);
_gdk_rgba_init_from_hsla (color, &hsla);
}