Merge pull request #14730 from peppy/add-missing-track-adjustment-defaults

Add missing screen level mod application settings for some screens
This commit is contained in:
Dan Balasescu
2021-09-13 15:22:22 +09:00
committed by GitHub
3 changed files with 6 additions and 0 deletions

View File

@ -23,6 +23,8 @@ namespace osu.Game.Screens.Import
{
public override bool HideOverlaysOnEnter => true;
public override bool AllowTrackAdjustments => false;
private OsuFileSelector fileSelector;
private Container contentContainer;
private TextFlowContainer currentFileText;

View File

@ -24,6 +24,8 @@ 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