You've already forked lazarus-ccr
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user