1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 12:33:01 +08:00

Edited to remove unessicary blank lines

This commit is contained in:
Chinmay Patil 2021-11-04 09:47:52 -06:00
parent 223efe55d5
commit c568888500
2 changed files with 2 additions and 23 deletions

View File

@ -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
{

View File

@ -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);