Fix issues found by code quality ci

This commit is contained in:
AbstractQbit 2021-09-15 12:01:56 +03:00
parent 9b101ea9eb
commit 1181317c72
3 changed files with 5 additions and 9 deletions

View File

@ -129,6 +129,8 @@ namespace osu.Game.Tests.Visual.Menus
public override bool? AllowTrackAdjustments => false; public override bool? AllowTrackAdjustments => false;
} }
private class InheritScreen : OsuScreen { } private class InheritScreen : OsuScreen
{
}
} }
} }

View File

@ -62,7 +62,7 @@ namespace osu.Game.Screens
/// Whether mod track adjustments are allowed to be applied. /// Whether mod track adjustments are allowed to be applied.
/// A <see langword="null"/> value means that the parent screen's value of this setting will be used. /// A <see langword="null"/> value means that the parent screen's value of this setting will be used.
/// </summary> /// </summary>
bool? AllowTrackAdjustments { set; get; } bool? AllowTrackAdjustments { get; set; }
/// <summary> /// <summary>
/// Invoked when the back button has been pressed to close any overlays before exiting this <see cref="IOsuScreen"/>. /// Invoked when the back button has been pressed to close any overlays before exiting this <see cref="IOsuScreen"/>.

View File

@ -81,13 +81,7 @@ namespace osu.Game.Screens
public virtual float BackgroundParallaxAmount => 1; public virtual float BackgroundParallaxAmount => 1;
private bool? allowTrackAdjustments = null; public virtual bool? AllowTrackAdjustments { get; set; }
public virtual bool? AllowTrackAdjustments
{
set => allowTrackAdjustments = value;
get => allowTrackAdjustments;
}
public Bindable<WorkingBeatmap> Beatmap { get; private set; } public Bindable<WorkingBeatmap> Beatmap { get; private set; }