Reverted revision(s) 64161 #62462e4388 from branches/fixes_2_0/components/tachart/tatools.pas:

TAChart: Fix some ZoomDragTool and DataPointCrosshairTool painting on other chart if shared between two charts.

It breaks compilation, depends on other unmerged revision.

git-svn-id: branches/fixes_2_0@64621 -
This commit is contained in:
maxim 2021-02-18 22:56:13 +00:00
parent 77ecaa0856
commit 17f2160756

View File

@ -686,7 +686,6 @@ begin
i := FChart.ActiveToolIndex;
if (i <> Index) and InRange(i, 0, Toolset.Tools.Count) then
Toolset[i].Deactivate;
FCurrentDrawer := nil;
inherited;
SetCursor;
end;
@ -2012,7 +2011,6 @@ end;
procedure TDataPointCrosshairTool.MouseDown(APoint: TPoint);
begin
FCurrentDrawer := nil;
MouseMove(APoint);
end;