Kaydet (Commit) 74fa27ed authored tarafından Armin Le Grand's avatar Armin Le Grand

#121251# corrected processing on hex value change

üst 3474351e
......@@ -1457,9 +1457,10 @@ IMPL_LINK( ColorPickerDialog, ColorModifyHdl, void *, p )
if( aColor != GetColor() )
{
// #121251# green and blue were wrongly taken
mdRed = ((double)aColor.GetRed()) / 255.0;
mdGreen = ((double)aColor.GetRed()) / 255.0;
mdBlue = ((double)aColor.GetRed()) / 255.0;
mdGreen = ((double)aColor.GetGreen()) / 255.0;
mdBlue = ((double)aColor.GetBlue()) / 255.0;
RGBtoHSV( mdRed, mdGreen, mdBlue, mdHue, mdSat, mdBri );
RGBtoCMYK( mdRed, mdGreen, mdBlue, mdCyan, mdMagenta, mdYellow, mdKey );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment