fix ui issue with color picker when current color is white

This commit is contained in:
Lars Brubaker 2022-05-19 17:23:52 -07:00
parent d6ae995a23
commit bffdedae42

View file

@ -208,7 +208,13 @@ namespace MatterHackers.MatterControl.CustomWidgets.ColorPicker
hsl.h = colorAngle / MathHelper.Tau;
Invalidate();
if (hsl.s == 0)
{
hsl.s = .75;
hsl.l = .5;
}
Invalidate();
}
else
{