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

Fix featured stream item width

This commit is contained in:
Andrei Zavatski 2020-03-03 17:10:25 +03:00
parent 937d9da43b
commit c0f7a83f6f

View File

@ -14,6 +14,14 @@ namespace osu.Game.Overlays.Changelog
{
}
protected override float GetWidth()
{
if (Value.IsFeatured)
return base.GetWidth() * 2;
return base.GetWidth();
}
protected override string GetMainText() => Value.DisplayName;
protected override string GetAdditionalText() => Value.LatestBuild.DisplayVersion;