Revert "LCL: Do not Invalidate a CustomGrid in every MouseUp. Merge request !66 by Petr Kristan."

This reverts commit 7f6c15e911.

It caused an incompatibility for subclassed DrawGrids, issue #40550.


(cherry picked from commit 53f21809d1)
This commit is contained in:
Maxim Ganetsky 2023-10-20 18:10:00 +03:00
parent 688188fe5c
commit eb2b425869

View File

@ -7187,6 +7187,8 @@ begin
if FMoveLast.X>=0 then InvalidateRow(0);
if FMoveLast.Y>=0 then InvalidateCol(0);
end;
{$else}
Invalidate;
{$endif}
if not (fGridState in [gsColMoving,gsRowMoving]) then
RestoreCursor;