From c5688885009ac1ec47b61b601a838354b9c4112e Mon Sep 17 00:00:00 2001 From: Chinmay Patil Date: Thu, 4 Nov 2021 09:47:52 -0600 Subject: [PATCH] Edited to remove unessicary blank lines --- .../Gameplay/TestSceneUnstableRateCounter.cs | 18 ------------------ .../Screens/Play/HUD/UnstableRateCounter.cs | 7 ++----- 2 files changed, 2 insertions(+), 23 deletions(-) diff --git a/osu.Game.Tests/Visual/Gameplay/TestSceneUnstableRateCounter.cs b/osu.Game.Tests/Visual/Gameplay/TestSceneUnstableRateCounter.cs index 12bca1122a..7f0228c4b0 100644 --- a/osu.Game.Tests/Visual/Gameplay/TestSceneUnstableRateCounter.cs +++ b/osu.Game.Tests/Visual/Gameplay/TestSceneUnstableRateCounter.cs @@ -46,8 +46,6 @@ namespace osu.Game.Tests.Visual.Gameplay private double prev; - - public TestSceneUnstableRateCounter() { Score score = new Score @@ -58,10 +56,6 @@ namespace osu.Game.Tests.Visual.Gameplay scoreProcessor.NewJudgement += result => scoreProcessor.PopulateScore(score.ScoreInfo); } - - - - [SetUpSteps] public void SetUp() { @@ -73,7 +67,6 @@ namespace osu.Game.Tests.Visual.Gameplay { AddStep("Create Display", () => recreateDisplay(new OsuHitWindows(), 5)); - AddRepeatStep("Set UR to 250ms", () => setUR(25), 20); AddStep("Reset UR", () => @@ -133,11 +126,6 @@ namespace osu.Game.Tests.Visual.Gameplay }); } - - - - - private void newJudgement(double offset = 0, HitResult result = HitResult.Perfect) { scoreProcessor.ApplyResult(new JudgementResult(new HitCircle { HitWindows = drawableRuleset.HitWindows }, new Judgement()) @@ -159,12 +147,6 @@ namespace osu.Game.Tests.Visual.Gameplay prev = placement; } - - - - - - [SuppressMessage("ReSharper", "UnassignedGetOnlyAutoProperty")] private class TestDrawableRuleset : DrawableRuleset { diff --git a/osu.Game/Screens/Play/HUD/UnstableRateCounter.cs b/osu.Game/Screens/Play/HUD/UnstableRateCounter.cs index 7109ea1995..489a7ff721 100644 --- a/osu.Game/Screens/Play/HUD/UnstableRateCounter.cs +++ b/osu.Game/Screens/Play/HUD/UnstableRateCounter.cs @@ -100,15 +100,12 @@ namespace osu.Game.Screens.Play.HUD protected override OsuSpriteText CreateSpriteText() - => base.CreateSpriteText().With(s => { + => base.CreateSpriteText().With(s => + { s.Font = s.Font.With(size: 12f, fixedWidth: true); s.Alpha = alpha_when_invalid; }); - - - - protected override void Dispose(bool isDisposing) { base.Dispose(isDisposing);