mirror of
https://github.com/ppy/osu.git
synced 2025-03-28 10:17:19 +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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
private class PlaylistDownloadButton : BeatmapPanelDownloadButton
|
private sealed class PlaylistDownloadButton : BeatmapPanelDownloadButton
|
||||||
{
|
{
|
||||||
private readonly PlaylistItem playlistItem;
|
private readonly PlaylistItem playlistItem;
|
||||||
|
|
||||||
@ -302,6 +302,8 @@ namespace osu.Game.Screens.OnlinePlay
|
|||||||
protected override void LoadComplete()
|
protected override void LoadComplete()
|
||||||
{
|
{
|
||||||
State.BindValueChanged(stateChanged, true);
|
State.BindValueChanged(stateChanged, true);
|
||||||
|
|
||||||
|
// base implementation calls FinishTransforms, so should be run after the above state update.
|
||||||
base.LoadComplete();
|
base.LoadComplete();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user