mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 08:47:59 +02:00
TAChart: Fix periodic usage of ChartStyles when drawing series pointers.
git-svn-id: trunk@60507 -
This commit is contained in:
parent
f2708bf395
commit
b31aee71a7
@ -1422,9 +1422,7 @@ begin
|
||||
Pointer.SetOwner(nil); // avoid recursion
|
||||
Pointer.Style := ps;
|
||||
end;
|
||||
brushAlreadySet := (Styles <> nil) and
|
||||
(AStyleIndex < Styles.Styles.Count) and
|
||||
Styles.Styles[AStyleIndex].UseBrush;
|
||||
brushAlreadySet := (Styles <> nil) and Styles.StyleByIndex(AStyleIndex).UseBrush;
|
||||
if brushAlreadySet then
|
||||
Styles.Apply(ADrawer, AStyleIndex);
|
||||
if UseDataColors then c := Source[i]^.Color else c := clTAColor;
|
||||
|
Loading…
Reference in New Issue
Block a user