mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-15 07:29:34 +02:00
Revert "LCL: Do not Invalidate a CustomGrid in every MouseUp. Merge request !66 by Petr Kristan."
This reverts commit7f6c15e911
. It caused an incompatibility for subclassed DrawGrids, issue #40550. (cherry picked from commit53f21809d1
)
This commit is contained in:
parent
688188fe5c
commit
eb2b425869
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user