Emmanuel Hansen
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.Controls/Presenters/ScrollContentPresenter.cs
|
|
|
@ -918,7 +918,7 @@ namespace Avalonia.Controls.Presenters |
|
|
|
else |
|
|
|
{ |
|
|
|
_horizontalSnapPoints = new List<double>(); |
|
|
|
_horizontalSnapPoint = scrollSnapPointsInfo.GetRegularSnapPoints(Layout.Orientation.Vertical, VerticalSnapPointsAlignment, out _horizontalSnapPointOffset); |
|
|
|
_horizontalSnapPoint = scrollSnapPointsInfo.GetRegularSnapPoints(Layout.Orientation.Horizontal, HorizontalSnapPointsAlignment, out _horizontalSnapPointOffset); |
|
|
|
} |
|
|
|
} |
|
|
|
else |
|
|
|
|