mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Resort as early as possible
This commit is contained in:
@ -57,11 +57,11 @@ namespace osu.Game.Rulesets.UI
|
|||||||
lifetimeManager.EntryBecameDead += entryBecameDead;
|
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();
|
SortInternal();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -174,7 +174,7 @@ namespace osu.Game.Rulesets.UI
|
|||||||
|
|
||||||
bindable.BindValueChanged(_ =>
|
bindable.BindValueChanged(_ =>
|
||||||
{
|
{
|
||||||
if (IsLoaded)
|
if (LoadState >= LoadState.Ready)
|
||||||
SortInternal();
|
SortInternal();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user