mirror of
https://github.com/ppy/osu.git
synced 2025-01-08 05:52:54 +08:00
Fix featured stream item width
This commit is contained in:
parent
937d9da43b
commit
c0f7a83f6f
@ -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 GetMainText() => Value.DisplayName;
|
||||||
|
|
||||||
protected override string GetAdditionalText() => Value.LatestBuild.DisplayVersion;
|
protected override string GetAdditionalText() => Value.LatestBuild.DisplayVersion;
|
||||||
|
Loading…
Reference in New Issue
Block a user