1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-18 06:27:18 +08:00

Seal implementation and add comment about LoadComplete execution order

This commit is contained in:
Dean Herbert 2021-10-29 11:59:07 +09:00
parent f3811edb0b
commit b252b176d4

View File

@ -282,7 +282,7 @@ namespace osu.Game.Screens.OnlinePlay
return true;
}
private class PlaylistDownloadButton : BeatmapPanelDownloadButton
private sealed class PlaylistDownloadButton : BeatmapPanelDownloadButton
{
private readonly PlaylistItem playlistItem;
@ -302,6 +302,8 @@ namespace osu.Game.Screens.OnlinePlay
protected override void LoadComplete()
{
State.BindValueChanged(stateChanged, true);
// base implementation calls FinishTransforms, so should be run after the above state update.
base.LoadComplete();
}