fix code formatting

This commit is contained in:
Sheepposu 2024-02-27 22:03:45 -05:00
parent cefc8357bb
commit 7687ab63ed
4 changed files with 4 additions and 3 deletions

View File

@ -16,12 +16,13 @@ namespace osu.Game.Rulesets.Osu.UI
private readonly PlayerCheckbox hitMarkerToggle; private readonly PlayerCheckbox hitMarkerToggle;
private readonly PlayerCheckbox aimMarkerToggle; private readonly PlayerCheckbox aimMarkerToggle;
private readonly PlayerCheckbox hideCursorToggle;
private readonly PlayerCheckbox aimLinesToggle; private readonly PlayerCheckbox aimLinesToggle;
public OsuAnalysisSettings(DrawableRuleset drawableRuleset) public OsuAnalysisSettings(DrawableRuleset drawableRuleset)
: base(drawableRuleset) : base(drawableRuleset)
{ {
PlayerCheckbox hideCursorToggle;
Children = new Drawable[] Children = new Drawable[]
{ {
hitMarkerToggle = new PlayerCheckbox { LabelText = PlayerSettingsOverlayStrings.HitMarkers }, hitMarkerToggle = new PlayerCheckbox { LabelText = PlayerSettingsOverlayStrings.HitMarkers },

View File

@ -36,7 +36,6 @@ namespace osu.Game.Rulesets.Osu.UI
private readonly JudgementPooler<DrawableOsuJudgement> judgementPooler; private readonly JudgementPooler<DrawableOsuJudgement> judgementPooler;
public SmokeContainer Smoke { get; } public SmokeContainer Smoke { get; }
public FollowPointRenderer FollowPoints { get; } public FollowPointRenderer FollowPoints { get; }
public static readonly Vector2 BASE_SIZE = new Vector2(512, 384); public static readonly Vector2 BASE_SIZE = new Vector2(512, 384);

View File

@ -10,7 +10,7 @@ namespace osu.Game.Screens.Play.PlayerSettings
{ {
protected DrawableRuleset DrawableRuleset; protected DrawableRuleset DrawableRuleset;
public AnalysisSettings(DrawableRuleset drawableRuleset) protected AnalysisSettings(DrawableRuleset drawableRuleset)
: base("Analysis Settings") : base("Analysis Settings")
{ {
DrawableRuleset = drawableRuleset; DrawableRuleset = drawableRuleset;

View File

@ -73,6 +73,7 @@ namespace osu.Game.Screens.Play
HUDOverlay.PlayerSettingsOverlay.AddAtStart(playbackSettings); HUDOverlay.PlayerSettingsOverlay.AddAtStart(playbackSettings);
var analysisSettings = DrawableRuleset.Ruleset.CreateAnalysisSettings(DrawableRuleset); var analysisSettings = DrawableRuleset.Ruleset.CreateAnalysisSettings(DrawableRuleset);
if (analysisSettings != null) if (analysisSettings != null)
{ {
HUDOverlay.PlayerSettingsOverlay.AddAtStart(analysisSettings); HUDOverlay.PlayerSettingsOverlay.AddAtStart(analysisSettings);