mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:27:29 +08:00
Move disables to loading screens for better coverage of edge cases
This commit is contained in:
parent
3485b72eaa
commit
945d89e955
@ -68,8 +68,6 @@ namespace osu.Game.Screens.Edit
|
||||
|
||||
public override bool? ApplyModTrackAdjustments => false;
|
||||
|
||||
public override bool? AllowGlobalTrackControl => false;
|
||||
|
||||
protected override bool PlayExitSound => !ExitConfirmed && !switchingDifficulty;
|
||||
|
||||
protected bool HasUnsavedChanges
|
||||
|
@ -42,6 +42,8 @@ namespace osu.Game.Screens.Edit
|
||||
|
||||
public override bool DisallowExternalBeatmapRulesetChanges => true;
|
||||
|
||||
public override bool? AllowGlobalTrackControl => false;
|
||||
|
||||
[Resolved]
|
||||
private BeatmapManager beatmapManager { get; set; }
|
||||
|
||||
|
@ -71,8 +71,6 @@ namespace osu.Game.Screens.Play
|
||||
// We are managing our own adjustments (see OnEntering/OnExiting).
|
||||
public override bool? ApplyModTrackAdjustments => false;
|
||||
|
||||
public override bool? AllowGlobalTrackControl => false;
|
||||
|
||||
private readonly IBindable<bool> gameActive = new Bindable<bool>(true);
|
||||
|
||||
private readonly Bindable<bool> samplePlaybackDisabled = new Bindable<bool>();
|
||||
|
@ -46,6 +46,8 @@ namespace osu.Game.Screens.Play
|
||||
|
||||
public override bool DisallowExternalBeatmapRulesetChanges => true;
|
||||
|
||||
public override bool? AllowGlobalTrackControl => false;
|
||||
|
||||
// Here because IsHovered will not update unless we do so.
|
||||
public override bool HandlePositionalInput => true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user