WINGs: Fix invalid handling of Blue in the HSV conversion in ColorPanel widget
commit58862300f9c40ae5e423e9e12cd9d898f6b26941
authorChristophe CURIS <christophe.curis@free.fr>
Fri, 14 May 2021 16:50:56 +0000 (14 18:50 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 18 May 2021 16:49:17 +0000 (18 17:49 +0100)
treeec5e6ff3401aef316659df94f90bea9145978898
parent1612d2f34560015b611b86cfddb46278cbf5d7c6
WINGs: Fix invalid handling of Blue in the HSV conversion in ColorPanel widget

Because of a minor bug, when pure blue was chosen in RGB in the ColorPanel,
the conversion to HSV would mistreat it as white and resets its hue,
leading to possible user annoyance.
WINGs/wcolorpanel.c