From 923c2a16edb66b7af3f3f3cc1d7c228290cd9ae7 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Wed, 13 Sep 2023 18:11:16 +0900 Subject: [PATCH] Fix weird centering of multiplier "x" --- .../Overlays/Mods/DifficultyMultiplierDisplay.cs | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/osu.Game/Overlays/Mods/DifficultyMultiplierDisplay.cs b/osu.Game/Overlays/Mods/DifficultyMultiplierDisplay.cs index 7f92a4e644..a2d3e4b385 100644 --- a/osu.Game/Overlays/Mods/DifficultyMultiplierDisplay.cs +++ b/osu.Game/Overlays/Mods/DifficultyMultiplierDisplay.cs @@ -1,10 +1,7 @@ // Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. -using osu.Framework.Graphics; -using osu.Framework.Graphics.Sprites; using osu.Framework.Localisation; -using osuTK; using osu.Game.Localisation; namespace osu.Game.Overlays.Mods @@ -13,21 +10,12 @@ namespace osu.Game.Overlays.Mods { protected override LocalisableString Label => DifficultyMultiplierDisplayStrings.DifficultyMultiplier; - protected override string CounterFormat => @"N2"; + protected override string CounterFormat => @"0.0x"; public DifficultyMultiplierDisplay() { Current.Default = 1d; Current.Value = 1d; - - Add(new SpriteIcon - { - Anchor = Anchor.CentreLeft, - Origin = Anchor.CentreLeft, - Icon = FontAwesome.Solid.Times, - Size = new Vector2(7), - Margin = new MarginPadding { Top = 1 } - }); } protected override void LoadComplete()