mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 09:39:09 +02:00
LCL: Use built-in TPoint operator <>.
This commit is contained in:
parent
e7e7e8c0c0
commit
a7ea210cb7
@ -6244,7 +6244,7 @@ begin
|
||||
Inc(FTopLeft.X, Dir.X);
|
||||
if ((Dir.Y < 0) and (FTopLeft.Y > FFixedRows)) or ((Dir.Y > 0) and (FGCache.FullVisibleGrid.Bottom + FixedRows < RowCount)) then
|
||||
Inc(FTopLeft.Y, Dir.Y);
|
||||
if not PointsEqual(FTopleft, OldTopLeft) then begin
|
||||
if FTopleft <> OldTopLeft then begin
|
||||
FMoveLast := Point(-1, -1);
|
||||
doTopleftChange(False);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user