mirror of https://github.com/ppy/osu
Use Update instead of UpdateAfterChildren (no need for the latter)
This commit is contained in:
parent
b3105fb292
commit
a76314a876
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue