mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-18 10:39:21 +02:00
TAChart: Do not try to display empty hint in TDataPointHintTool.
This is a workaround for issue #22498. git-svn-id: trunk@38024 -
This commit is contained in:
parent
e08839123f
commit
78b05dc0a3
@ -1510,6 +1510,7 @@ begin
|
||||
if FHintWindow = nil then
|
||||
FHintWindow := THintWindow.Create(nil);
|
||||
h := GetHintText;
|
||||
if h = '' then exit;
|
||||
r := FHintWindow.CalcHintRect(FChart.Width, h, nil);
|
||||
OffsetRect(r, APoint.X, APoint.Y);
|
||||
FHintWindow.ActivateHint(r, h);
|
||||
|
Loading…
Reference in New Issue
Block a user