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:
parent
f3811edb0b
commit
b252b176d4
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user