Use Update instead of UpdateAfterChildren (no need for the latter)

This commit is contained in:
Dean Herbert 2021-02-02 15:57:17 +09:00
parent b3105fb292
commit a76314a876
1 changed files with 4 additions and 3 deletions

View File

@ -257,9 +257,9 @@ protected override void OnUserScroll(float value, bool animated = true, double?
lastExtent = null;
}
protected override void UpdateAfterChildren()
protected override void Update()
{
base.UpdateAfterChildren();
base.Update();
// If the user has scrolled to the bottom of the container, we should resume tracking new content.
if (UserScrolling && IsScrolledToEnd(auto_scroll_leniency))
@ -270,7 +270,8 @@ protected override void UpdateAfterChildren()
if (requiresScrollUpdate)
{
ScheduleAfterChildren(() =>
// Schedule required to allow FillFlow to be the correct size.
Schedule(() =>
{
if (!UserScrolling)
{