mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 18:59:21 +02:00
Cocoa: Fix MouseMove issue related to PopupMenu
This commit is contained in:
parent
6f8a824944
commit
9a11ab871d
@ -1144,7 +1144,7 @@ begin
|
|||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
if Event.window<>GetCocoaWindowAtPos(GetScreenPointFromEvent(Event)) then
|
if Event.window<>GetCocoaWindowAtPos(GetScreenPointFromEvent(Event)) then
|
||||||
exit( true );
|
exit;
|
||||||
|
|
||||||
rect:=Target.BoundsRect;
|
rect:=Target.BoundsRect;
|
||||||
OffsetRect(rect, -rect.Left, -rect.Top);
|
OffsetRect(rect, -rect.Left, -rect.Top);
|
||||||
|
Loading…
Reference in New Issue
Block a user