Skip to content

Commit

Permalink
Merge pull request #6524 from AvaloniaUI/revert-scrollcontentpresente…
Browse files Browse the repository at this point in the history
…r-order-of-operations-based-on-master

Revert "ScrollContentPresenter, fix order of operations, set Offset before setting Extent"
  • Loading branch information
grokys committed Sep 29, 2021
1 parent 62e1709 commit ab1d496
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 @@ -511,8 +511,8 @@ private void UpdateFromScrollable(ILogicalScrollable scrollable)
else if (scrollable.IsLogicalScrollEnabled)
{
Viewport = scrollable.Viewport;
Offset = scrollable.Offset;
Extent = scrollable.Extent;
Offset = scrollable.Offset;
}
}

Expand Down

0 comments on commit ab1d496

Please sign in to comment.