mirror of https://github.com/ppy/osu
Allow using back button on PlayerLoader and Replay
This commit is contained in:
parent
1cda5f4de9
commit
e2389ad7a4
|
@ -45,6 +45,8 @@ public class Player : ScreenWithBeatmapBackground, IProvideCursor
|
|||
public bool AllowLeadIn { get; set; } = true;
|
||||
public bool AllowResults { get; set; } = true;
|
||||
|
||||
protected override bool AllowBackButton => false;
|
||||
|
||||
private Bindable<bool> mouseWheelDisabled;
|
||||
private Bindable<double> userAudioOffset;
|
||||
|
||||
|
|
|
@ -27,7 +27,6 @@ public class PlayerLoader : ScreenWithBeatmapBackground
|
|||
|
||||
private bool showOverlays = true;
|
||||
public override bool ShowOverlaysOnEnter => showOverlays;
|
||||
protected override bool AllowBackButton => false;
|
||||
|
||||
private Task loadTask;
|
||||
|
||||
|
|
|
@ -16,7 +16,6 @@ public abstract class ScreenWithBeatmapBackground : OsuScreen
|
|||
protected override BackgroundScreen CreateBackground() => new BackgroundScreenBeatmap(Beatmap);
|
||||
|
||||
public override bool AllowBeatmapRulesetChange => false;
|
||||
protected override bool AllowBackButton => false;
|
||||
|
||||
protected const float BACKGROUND_FADE_DURATION = 800;
|
||||
|
||||
|
|
Loading…
Reference in New Issue