mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-05 01:58:31 +02:00
TAChart: Fix animated zoom-out
git-svn-id: trunk@27573 -
This commit is contained in:
parent
91d3bcfd77
commit
151210cde5
@ -778,7 +778,7 @@ begin
|
|||||||
FChart.Canvas.Rectangle(FSelectionRect);
|
FChart.Canvas.Rectangle(FSelectionRect);
|
||||||
with FSelectionRect do begin
|
with FSelectionRect do begin
|
||||||
if (Left >= Right) or (Top >= Bottom) then begin
|
if (Left >= Right) or (Top >= Bottom) then begin
|
||||||
DoZoom(FChart.Extent.Extent, true);
|
DoZoom(FChart.GetFullExtent, true);
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
ext.a := FChart.ImageToGraph(TopLeft);
|
ext.a := FChart.ImageToGraph(TopLeft);
|
||||||
|
Loading…
Reference in New Issue
Block a user