Skip to content

Commit

Permalink
Правка скрола в конец
Browse files Browse the repository at this point in the history
  • Loading branch information
HemulGM committed Jan 12, 2022
1 parent 7ba0f45 commit 4eb1902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HGM.FMX.SmoothScroll.pas
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ procedure TSmoothScroll.ScrollDown;

procedure TSmoothScroll.ToEnd;
begin
FScroll.ViewportPosition := TPointF.Create(FScroll.ViewportPosition.X, FScroll.ContentBounds.Bottom - FScroll.ClientHeight);
FScroll.ViewportPosition := TPointF.Create(FScroll.ViewportPosition.X, FScroll.ContentBounds.Bottom + 100);
end;

procedure TSmoothScroll.ScrollEvent(WheelDelta: Single);
Expand Down

0 comments on commit 4eb1902

Please sign in to comment.