mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2024-11-26 04:21:25 +01:00
LCL: fix hint window bounds issue introduced in a2057a6., issue #41194
This commit is contained in:
parent
b35ba030b3
commit
aeca9749b1
@ -241,6 +241,8 @@ procedure THintWindow.ActivateHint(const AHint: String);
|
||||
begin
|
||||
if FActivating then exit;
|
||||
|
||||
AdjustBoundsForMonitor;
|
||||
|
||||
if Visible and (Caption=AHint)
|
||||
and EqualRect(FHintRect, BoundsRect) then
|
||||
begin
|
||||
@ -263,7 +265,6 @@ end;
|
||||
procedure THintWindow.ActivateHint(ARect: TRect; const AHint: String);
|
||||
begin
|
||||
HintRect := ARect;
|
||||
AdjustBoundsForMonitor;
|
||||
ActivateHint(AHint);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user