mbColorLib: Fix BColorPicker not updating its gradient when R or G are changed.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5609 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2017-01-08 17:00:42 +00:00
parent a137e86358
commit 6b0464cfcf

View File

@@ -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;