FIX: grid may be not updated when right clicking on macOS

This commit is contained in:
rich2014 2026-01-27 10:57:16 +08:00
commit 65936a489e

View file

@ -965,6 +965,9 @@ begin
{$IF DEFINED(LCLWIN32)}
FMouseFocus:= MainControl.Focused;
SetFocus;
{$ELSEIF DEFINED(LCLCOCOA)}
FMouseFocus:= MainControl.Focused;
MainControl.Invalidate;
{$ELSE}
FMouseFocus := not FMouseEnter;
FMouseEnter := False;