mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:27:29 +08:00
Remove unnecessary AllowTrackAdjustments
overrides, add true to SongSelect
This commit is contained in:
parent
1181317c72
commit
f0439ef50b
@ -24,8 +24,6 @@ namespace osu.Game.Overlays.Settings.Sections.Maintenance
|
||||
|
||||
private OsuDirectorySelector directorySelector;
|
||||
|
||||
public override bool? AllowTrackAdjustments => false;
|
||||
|
||||
/// <summary>
|
||||
/// Text to display in the header to inform the user of what they are selecting.
|
||||
/// </summary>
|
||||
|
@ -23,8 +23,6 @@ namespace osu.Game.Screens.Import
|
||||
{
|
||||
public override bool HideOverlaysOnEnter => true;
|
||||
|
||||
public override bool? AllowTrackAdjustments => false;
|
||||
|
||||
private OsuFileSelector fileSelector;
|
||||
private Container contentContainer;
|
||||
private TextFlowContainer currentFileText;
|
||||
|
@ -36,8 +36,6 @@ namespace osu.Game.Screens.Menu
|
||||
|
||||
public override bool AllowExternalScreenChange => true;
|
||||
|
||||
public override bool? AllowTrackAdjustments => false;
|
||||
|
||||
private Screen songSelect;
|
||||
|
||||
private MenuSideFlashes sideFlashes;
|
||||
|
@ -24,8 +24,6 @@ namespace osu.Game.Screens.OnlinePlay
|
||||
[Cached]
|
||||
protected readonly OverlayColourProvider ColourProvider = new OverlayColourProvider(OverlayColourScheme.Plum);
|
||||
|
||||
public override bool? AllowTrackAdjustments => false;
|
||||
|
||||
public override bool CursorVisible => (screenStack?.CurrentScreen as IOnlinePlaySubScreen)?.CursorVisible ?? true;
|
||||
|
||||
// this is required due to PlayerLoader eventually being pushed to the main stack
|
||||
|
@ -10,8 +10,6 @@ namespace osu.Game.Screens.Play
|
||||
{
|
||||
protected override BackgroundScreen CreateBackground() => new BackgroundScreenBeatmap(Beatmap.Value);
|
||||
|
||||
public override bool? AllowTrackAdjustments => true;
|
||||
|
||||
public void ApplyToBackground(Action<BackgroundScreenBeatmap> action) => base.ApplyToBackground(b => action.Invoke((BackgroundScreenBeatmap)b));
|
||||
}
|
||||
}
|
||||
|
@ -53,6 +53,8 @@ namespace osu.Game.Screens.Select
|
||||
|
||||
protected virtual bool DisplayStableImportPrompt => stableImportManager?.SupportsImportFromStable == true;
|
||||
|
||||
public override bool? AllowTrackAdjustments => true;
|
||||
|
||||
/// <summary>
|
||||
/// Can be null if <see cref="ShowFooter"/> is false.
|
||||
/// </summary>
|
||||
|
@ -16,8 +16,6 @@ namespace osu.Game.Screens
|
||||
|
||||
public override bool CursorVisible => false;
|
||||
|
||||
public override bool? AllowTrackAdjustments => false;
|
||||
|
||||
protected override OverlayActivation InitialOverlayActivationMode => OverlayActivation.Disabled;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user