mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 18:09:32 +02:00
TAChart: Fix data-point cross-hair cursor, used by two charts, being drawn in the other chart.
This commit is contained in:
parent
95d6c4d698
commit
a1bf47ed7d
@ -2277,7 +2277,6 @@ end;
|
||||
|
||||
procedure TDataPointCrosshairTool.MouseDown(APoint: TPoint);
|
||||
begin
|
||||
FCurrentDrawer := nil;
|
||||
MouseMove(APoint);
|
||||
end;
|
||||
|
||||
@ -2288,7 +2287,9 @@ var
|
||||
lastIndex: Integer;
|
||||
xorMode: Boolean;
|
||||
begin
|
||||
FCurrentDrawer := nil;
|
||||
id := GetCurrentDrawer;
|
||||
|
||||
lastSeries := FSeries;
|
||||
lastIndex := FPointIndex;
|
||||
xorMode := EffectiveDrawingMode = tdmXOR;
|
||||
|
Loading…
Reference in New Issue
Block a user