mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 18:20:00 +02:00
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:
parent
77ecaa0856
commit
17f2160756
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user