mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-07 16:00:23 +02:00
TAChart: Fix leftover tool image after unzooming in normal draw mode
git-svn-id: trunk@38901 -
This commit is contained in:
parent
e7353938a4
commit
50c1480502
@ -1188,6 +1188,9 @@ begin
|
||||
(dragDir <> zreClick) and not (FPrevDragDir in [dragDir, zreDifferentDrag])
|
||||
then begin
|
||||
FPrevDragDir := zreDifferentDrag;
|
||||
if not Chart.IsZoomed and (EffectiveDrawingMode = tdmNormal) then
|
||||
// ZoomFull will not cause redraw, force it to erase the tool.
|
||||
Chart.StyleChanged(Self);
|
||||
DoZoom(FChart.GetFullExtent, true);
|
||||
exit;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user