mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 06:36:31 +09:00
Fix featured stream item width
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user