1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-06 21:12:55 +08:00

Fix changelog header staying dimmed after build show

This commit is contained in:
Bartłomiej Dach 2020-12-28 16:35:33 +01:00
parent 9155671557
commit d2301068b6

View File

@ -7,12 +7,11 @@ namespace osu.Game.Overlays.Changelog
{ {
public class ChangelogUpdateStreamControl : OverlayStreamControl<APIUpdateStream> public class ChangelogUpdateStreamControl : OverlayStreamControl<APIUpdateStream>
{ {
protected override OverlayStreamItem<APIUpdateStream> CreateStreamItem(APIUpdateStream value) => new ChangelogUpdateStreamItem(value); public ChangelogUpdateStreamControl()
protected override void LoadComplete()
{ {
// suppress base logic of immediately selecting first item if one exists SelectFirstTabByDefault = false;
// (we always want to start with no stream selected). }
}
protected override OverlayStreamItem<APIUpdateStream> CreateStreamItem(APIUpdateStream value) => new ChangelogUpdateStreamItem(value);
} }
} }