1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 11:20:04 +08:00

Resort as early as possible

This commit is contained in:
smoogipoo 2020-11-12 17:07:20 +09:00
parent cf91962865
commit e44a8b3934

View File

@ -57,11 +57,11 @@ namespace osu.Game.Rulesets.UI
lifetimeManager.EntryBecameDead += entryBecameDead;
}
protected override void LoadComplete()
protected override void LoadAsyncComplete()
{
base.LoadComplete();
base.LoadAsyncComplete();
// Application of hitobject during load() may have changed their start times, so ensure the correct sorting order.
// Application of hitobjects during load() may have changed their start times, so ensure the correct sorting order.
SortInternal();
}
@ -174,7 +174,7 @@ namespace osu.Game.Rulesets.UI
bindable.BindValueChanged(_ =>
{
if (IsLoaded)
if (LoadState >= LoadState.Ready)
SortInternal();
});