mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 11:19:26 +02:00
TAChart: Restore default color when TRandomChartSource.RandomColors is false.
This commit is contained in:
parent
34f156c0b9
commit
9a87e2953c
@ -1337,7 +1337,10 @@ begin
|
||||
end;
|
||||
end;
|
||||
if FRandomColors then
|
||||
FCurItem.Color := GetRandomColor;;
|
||||
FCurItem.Color := GetRandomColor
|
||||
else
|
||||
FCurItem.Color := clTAColor;
|
||||
|
||||
end;
|
||||
Result := @FCurItem;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user