Keyword Spacing and Brackets Fixing

This commit is contained in:
John Neijzen
2017-06-08 14:35:10 +08:00
parent bf45155ed5
commit 431d225a60
17 changed files with 16 additions and 21 deletions

View File

@ -79,7 +79,8 @@ namespace osu.Desktop.VisualTests.Tests
{ {
score.Current.Value += 300 + (ulong)(300.0 * (comboCounter.Current > 0 ? comboCounter.Current - 1 : 0) / 25.0); score.Current.Value += 300 + (ulong)(300.0 * (comboCounter.Current > 0 ? comboCounter.Current - 1 : 0) / 25.0);
comboCounter.Increment(); comboCounter.Increment();
numerator++; denominator++; numerator++;
denominator++;
accuracyCounter.SetFraction(numerator, denominator); accuracyCounter.SetFraction(numerator, denominator);
}); });

View File

@ -87,6 +87,5 @@ namespace osu.Game.Rulesets.Mania.MathUtils
bitIndex++; bitIndex++;
return ((bitBuffer >>= 1) & 1) == 1; return ((bitBuffer >>= 1) & 1) == 1;
} }
} }
} }

View File

@ -186,7 +186,7 @@ namespace osu.Game.Rulesets.Osu
public enum DifficultyType public enum DifficultyType
{ {
Speed = 0, Speed = 0,
Aim, Aim
}; };
} }
} }

View File

@ -229,7 +229,6 @@ namespace osu.Game.Rulesets.Taiko.UI
if (judgedObject.HitObject.Kiai) if (judgedObject.HitObject.Kiai)
kiaiExplosionContainer.Add(new KiaiHitExplosion(judgedObject.Judgement, isRim)); kiaiExplosionContainer.Add(new KiaiHitExplosion(judgedObject.Judgement, isRim));
} }
else else
hitExplosionContainer.Children.FirstOrDefault(e => e.Judgement == judgedObject.Judgement)?.VisualiseSecondHit(); hitExplosionContainer.Children.FirstOrDefault(e => e.Judgement == judgedObject.Judgement)?.VisualiseSecondHit();

View File

@ -192,10 +192,8 @@ namespace osu.Game.Screens.Menu
public MenuState State public MenuState State
{ {
get get { return state; }
{
return state;
}
set set
{ {
if (state == value) return; if (state == value) return;

View File

@ -54,7 +54,6 @@ namespace osu.Game.Screens.Play.HUD
{ {
AutoSizeAxes = Axes.Both, AutoSizeAxes = Axes.Both,
Scale = new Vector2(0.6f), Scale = new Vector2(0.6f),
}); });
} }

View File

@ -64,7 +64,8 @@ namespace osu.Game.Screens.Ranking
Origin = Anchor.Centre, Origin = Anchor.Centre,
Children = new Drawable[] Children = new Drawable[]
{ {
new Box{ new Box
{
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
Alpha = 0, Alpha = 0,
AlwaysPresent = true AlwaysPresent = true
@ -87,6 +88,5 @@ namespace osu.Game.Screens.Ranking
} }
}); });
} }
} }
} }

View File

@ -335,7 +335,6 @@ namespace osu.Game.Screens.Tournament
{ {
Logger.Error(ex, "Failed to read last drawings results."); Logger.Error(ex, "Failed to read last drawings results.");
} }
} }
else else
{ {