mirror of
https://github.com/ppy/osu.git
synced 2026-06-05 02:23:38 +08:00
Seal implementation and add comment about LoadComplete execution order
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user