mirror of
https://github.com/ppy/osu
synced 2024-12-26 17:02:59 +00:00
5f43299d37
It turns out that the changelog code was semi-intentionally relying on the request to get release streams to be slow to initially show the listing of all streams. Locally suppress the base tab control logic to fix this.
19 lines
702 B
C#
19 lines
702 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
using osu.Game.Online.API.Requests.Responses;
|
|
|
|
namespace osu.Game.Overlays.Changelog
|
|
{
|
|
public class ChangelogUpdateStreamControl : OverlayStreamControl<APIUpdateStream>
|
|
{
|
|
protected override OverlayStreamItem<APIUpdateStream> CreateStreamItem(APIUpdateStream value) => new ChangelogUpdateStreamItem(value);
|
|
|
|
protected override void LoadComplete()
|
|
{
|
|
// suppress base logic of immediately selecting first item if one exists
|
|
// (we always want to start with no stream selected).
|
|
}
|
|
}
|
|
}
|