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