Remove alternative total score display (colour gradient) for now

For simplicity and a future consideration for when the skinning portion is implemented.
This commit is contained in:
Joseph Madamba 2023-10-11 09:39:15 -07:00
parent 42d41add41
commit f6741514aa
2 changed files with 0 additions and 22 deletions

View File

@ -3,7 +3,6 @@
using System;
using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Colour;
using osu.Game.Beatmaps;
using osu.Game.Online.Rooms;
@ -69,26 +68,6 @@ namespace osu.Game.Graphics
}
}
/// <summary>
/// Retrieves the colour for the total score depending on <see cref="ScoreRank"/>.
/// </summary>
public static ColourInfo TotalScoreColourFor(ScoreRank rank)
{
switch (rank)
{
case ScoreRank.XH:
case ScoreRank.X:
return ColourInfo.GradientVertical(Colour4.FromHex(@"A4DEFF"), Colour4.FromHex(@"F0AADD"));
case ScoreRank.SH:
case ScoreRank.S:
return ColourInfo.GradientVertical(Colour4.FromHex(@"FFFFFF"), Colour4.FromHex(@"F7E65D"));
default:
return Colour4.White;
}
}
/// <summary>
/// Retrieves the colour for a <see cref="HitResult"/>.
/// </summary>

View File

@ -414,7 +414,6 @@ namespace osu.Game.Online.Leaderboards
Shear = -shear,
Current = scoreManager.GetBindableTotalScoreString(score),
Font = OsuFont.GetFont(size: 30, weight: FontWeight.Light),
Colour = OsuColour.TotalScoreColourFor(score.Rank),
},
modsContainer = new FillFlowContainer<ColouredModSwitchTiny>
{