Revert "Temporary changes to compile with latest framework"

This reverts commit 34c671f712.
This commit is contained in:
Dean Herbert
2021-08-05 17:33:19 +09:00
parent 89f0739a4a
commit 27ff428491
4 changed files with 5 additions and 11 deletions

View File

@ -8,8 +8,6 @@ using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Extensions;
using osu.Framework.Extensions.EnumExtensions;
using osu.Framework.Extensions.LocalisationExtensions;
using osu.Framework.Localisation;
using osu.Game.Graphics;
using osu.Game.Graphics.Containers;
using osu.Game.Graphics.Sprites;
@ -217,7 +215,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
private class HeaderText : OsuSpriteText
{
public HeaderText(LocalisableString text)
public HeaderText(string text)
{
Text = text.ToUpper();
Font = OsuFont.GetFont(size: 10, weight: FontWeight.Bold);