diff --git a/components/mbColorLib/BColorPicker.pas b/components/mbColorLib/BColorPicker.pas index 9fc45588f..006025696 100644 --- a/components/mbColorLib/BColorPicker.pas +++ b/components/mbColorLib/BColorPicker.pas @@ -202,7 +202,7 @@ begin r := GetRValue(c); g := GetGValue(c); b := GetBValue(c); - newGradient := (r <> FRed) and (g <> FGreen); + newGradient := (r <> FRed) or (g <> FGreen); FGreen := g; FBlue := b; FRed := r;