Make IOsuScreen.AllowTrackAdjustments nullable

Allows for inheriting value from the previous screen if undefined
This commit is contained in:
AbstractQbit
2021-09-14 17:37:57 +03:00
parent 52b1539dea
commit b9193aae6d
13 changed files with 42 additions and 12 deletions

View File

@ -60,8 +60,9 @@ namespace osu.Game.Screens
/// <summary>
/// Whether mod track adjustments are allowed to be applied.
/// Null means to inherit from the parent screen.
/// </summary>
bool AllowTrackAdjustments { get; }
bool? AllowTrackAdjustments { get; }
/// <summary>
/// Invoked when the back button has been pressed to close any overlays before exiting this <see cref="IOsuScreen"/>.