mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 12:41:21 +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.X>=0 then InvalidateRow(0);
|
||||||
if FMoveLast.Y>=0 then InvalidateCol(0);
|
if FMoveLast.Y>=0 then InvalidateCol(0);
|
||||||
end;
|
end;
|
||||||
|
{$else}
|
||||||
|
Invalidate;
|
||||||
{$endif}
|
{$endif}
|
||||||
if not (fGridState in [gsColMoving,gsRowMoving]) then
|
if not (fGridState in [gsColMoving,gsRowMoving]) then
|
||||||
RestoreCursor;
|
RestoreCursor;
|
||||||
|
Loading…
Reference in New Issue
Block a user