mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-10 09:59:17 +02:00
lcl: fixed TToolButton.MouseUp X,Y in boundsrect check
git-svn-id: trunk@36715 -
This commit is contained in:
parent
23933fd6a6
commit
0b9fc091a6
@ -115,7 +115,7 @@ begin
|
||||
if FMouseInControl then
|
||||
begin
|
||||
Pt := Point(X, Y);
|
||||
if not PtInRect(BoundsRect, Pt) then
|
||||
if not PtInRect(Rect(0,0,Width,Height), Pt) then
|
||||
SetMouseInControl(false);
|
||||
end;
|
||||
DropDownMenuDropped := False;
|
||||
|
Loading…
Reference in New Issue
Block a user