mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 00:02:50 +02:00
Cocoa: Fixed Key Modifiers handling in TCocoaApplication.nextEventMatchingMask_untilDate_inMode_dequeue()
This commit is contained in:
parent
abac1d0235
commit
246652ca2a
@ -670,13 +670,14 @@ begin
|
||||
|
||||
if not Assigned(Result) then
|
||||
begin
|
||||
SavedKeyModifiers := Result.modifierFlags;
|
||||
{$ifdef COCOALOOPNATIVE}
|
||||
if Assigned(Application) then Application.Idle(true);
|
||||
{$endif}
|
||||
Exit;
|
||||
end;
|
||||
|
||||
SavedKeyModifiers := Result.modifierFlags;
|
||||
|
||||
if ((mode = NSEventTrackingRunLoopMode) or mode.isEqualToString(NSEventTrackingRunLoopMode))
|
||||
and Assigned(TrackedControl)
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user