Skip to content

Commit

Permalink
fix wrong snap point params (#17986)
Browse files Browse the repository at this point in the history
  • Loading branch information
emmauss authored Jan 16, 2025
1 parent 6f27eec commit 230e4fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Avalonia.Controls/Presenters/ScrollContentPresenter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ private void UpdateSnapPoints()
else
{
_horizontalSnapPoints = new List<double>();
_horizontalSnapPoint = scrollSnapPointsInfo.GetRegularSnapPoints(Layout.Orientation.Vertical, VerticalSnapPointsAlignment, out _horizontalSnapPointOffset);
_horizontalSnapPoint = scrollSnapPointsInfo.GetRegularSnapPoints(Layout.Orientation.Horizontal, HorizontalSnapPointsAlignment, out _horizontalSnapPointOffset);
}
}
else
Expand Down

0 comments on commit 230e4fd

Please sign in to comment.