mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-18 07:09:37 +02:00
TAChart: Fix some ZoomDragTool and DataPointCrosshairTool painting on other chart if shared between two charts.
git-svn-id: trunk@64161 -
This commit is contained in:
parent
32a7354677
commit
62462e4388
@ -759,6 +759,7 @@ begin
|
||||
i := FChart.ActiveToolIndex;
|
||||
if (i <> Index) and InRange(i, 0, Toolset.Tools.Count) then
|
||||
Toolset[i].Deactivate;
|
||||
FCurrentDrawer := nil;
|
||||
inherited;
|
||||
SetCursor;
|
||||
end;
|
||||
@ -2225,6 +2226,7 @@ end;
|
||||
|
||||
procedure TDataPointCrosshairTool.MouseDown(APoint: TPoint);
|
||||
begin
|
||||
FCurrentDrawer := nil;
|
||||
MouseMove(APoint);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user