mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 21:39:21 +02:00
TAChart: Fix inconsistent usage of brush styles in series OnCustomDrawPointer (https://forum.lazarus.freepascal.org/index.php/topic,66664.msg511859.html#msg511859).
This commit is contained in:
parent
29f1643745
commit
e11e1d3921
@ -506,7 +506,7 @@ begin
|
|||||||
if not ABrushAlreadySet then begin
|
if not ABrushAlreadySet then begin
|
||||||
ADrawer.Brush := Brush;
|
ADrawer.Brush := Brush;
|
||||||
if (ocBrush in OverrideColor) and (AColor <> clTAColor) then
|
if (ocBrush in OverrideColor) and (AColor <> clTAColor) then
|
||||||
ADrawer.BrushColor := AColor;
|
ADrawer.SetBrushParams(Brush.Style, AColor);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
ADrawer.Pen := Pen;
|
ADrawer.Pen := Pen;
|
||||||
|
Loading…
Reference in New Issue
Block a user