mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 21:10:36 +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);
|
procedure TDataPointCrosshairTool.MouseDown(APoint: TPoint);
|
||||||
begin
|
begin
|
||||||
FCurrentDrawer := nil;
|
|
||||||
MouseMove(APoint);
|
MouseMove(APoint);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -2288,7 +2287,9 @@ var
|
|||||||
lastIndex: Integer;
|
lastIndex: Integer;
|
||||||
xorMode: Boolean;
|
xorMode: Boolean;
|
||||||
begin
|
begin
|
||||||
|
FCurrentDrawer := nil;
|
||||||
id := GetCurrentDrawer;
|
id := GetCurrentDrawer;
|
||||||
|
|
||||||
lastSeries := FSeries;
|
lastSeries := FSeries;
|
||||||
lastIndex := FPointIndex;
|
lastIndex := FPointIndex;
|
||||||
xorMode := EffectiveDrawingMode = tdmXOR;
|
xorMode := EffectiveDrawingMode = tdmXOR;
|
||||||
|
Loading…
Reference in New Issue
Block a user