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 authored Sep 9, 2021
2 parents c6f9c6a + 394e1ca commit ce32acf
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 ce32acf

Please sign in to comment.